We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68a6672 commit 65089cbCopy full SHA for 65089cb
Assets/Scripts/UI/ScorePoster.cs
@@ -16,6 +16,7 @@ public class ScoreEntry
16
public string Duration;
17
public int Score;
18
public string Timestamp;
19
+ public string Platform;
20
}
21
22
public class ScorePoster : MonoBehaviour
@@ -104,7 +105,8 @@ private async Task UploadScoreAsync()
104
105
Name = _nameField.text,
106
Duration = TimeSpan.FromSeconds(Time.timeSinceLevelLoad).ToString(),
107
Score = _gameManager.GetScore(),
- Timestamp = DateTime.Now.ToString("o")
108
+ Timestamp = DateTime.Now.ToString("o"),
109
+ Platform = Application.platform.ToString()
110
};
111
112
var json = JsonUtility.ToJson(score);
0 commit comments