Blu*_*shi 5 c# unity-game-engine game-center game-center-leaderboard unity5
Unity 的Social.TimeScope文档说:
TimeScope.Today:只返回今天的分数 https://docs.unity3d.com/352/Documentation/ScriptReference/TimeScope.Today.html
但是,Apple 的原生 Swift 文档说:
今天的案例:每个玩家仅限于过去 24 小时内记录的分数。 https://developer.apple.com/documentation/gamekit/gkleaderboardtimescope
因此,当Unity.Social.TimeScope用于从 Apple 的 GameCenter 获取“每日”分数时,将返回以下哪些内容:
“每周”时间范围也是如此:“上周”在这里是什么意思?
TimeScope. Today所以我用for进行了一些“实验”LoadScores并自己弄清楚了:
LoadScores。LoadScores。结论: Social.TimeScope.Daily == 过去 24 小时的分数,无论日期如何。
我假设同样的逻辑适用于Weekly:小时而不是日期。
| 归档时间: |
|
| 查看次数: |
505 次 |
| 最近记录: |