Example #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();
            });
        }
Example #2
0
 private void Awake()
 => Instance = this;