Goals:
- One place to control all user high score data.
- User high-score can be sent to Google Play Leader Board or GameCenter Leader Board.
- It can be config to use which place that the developer want to store the score.
- USING_HIGHSCORE_UNITY_SOCIAL : Use Unity IAP to Report Score and Show Leader Board UI
- https://developer.apple.com/design/human-interface-guidelines/game-center/overview/leaderboards/
- https://docs.unity3d.com/ScriptReference/SocialPlatforms.GameCenter.GameCenterPlatform.html
The Google Play Games plugin for Unity allows you to access the Google Play Games API through Unity's social interface. The plugin provides support for the following features of the Google Play Games API:
sign in.
friends.
unlock/reveal/increment achievement.
post score to leaderboard
cloud save read/write
show built-in achievement/leaderboards UI
events
video recording of gameplay
nearby connections