示例#1
0
        private void Awake()
        {
            PlayGamesClientConfiguration config = new
                                                  PlayGamesClientConfiguration.Builder()
                                                  .Build();

            PlayGamesPlatform.DebugLogEnabled = true;

            PlayGamesPlatform.InitializeInstance(config);
            PlayGamesPlatform.Activate();

            Auth(delegate
            {
                ScoreServicer.LoadRank();
                AchievsServicer.LoadAchievsCounts();
            });
        }
示例#2
0
 private void Awake()
 => Instance = this;