Unity's Social.TimeScope
documentation says:
TimeScope.Today: Only return scores from today https://docs.unity3d.com/352/Documentation/ScriptReference/TimeScope.Today.html
However, Apple's native Swift documentation says:
case today: Each player is restricted to scores recorded in the past 24 hours. https://developer.apple.com/documentation/gamekit/gkleaderboardtimescope
So, when using Unity.Social.TimeScope
to fetch "daily" scores from Apple's GameCenter, which of the following are returned:
The same goes for the "weekly" time scopes: what does "the last week" mean here?
So I ran a little "expirement" using TimeScope. Today
for LoadScores
and figured it out myself:
LoadScores
.LoadScores
.Conclusion: Social.TimeScope.Daily
== Scores from the past 24 hours, regardless of dates.
I am assuming the same logic goes for Weekly
: hours instead of dates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With