コード例 #1
0
 private void GPGOpenLadderboard(int worldIndex, int levelIndex)
 {
     Debug.LogWarning(" WorldIndex: " + worldIndex + " LevelIndex: " + levelIndex);
     PGServices.ShowLadderboard(worldIndex, levelIndex);
 }
コード例 #2
0
 private void GPGLogin()
 {
     PGServices.AuthenticateUser();
 }
コード例 #3
0
 private void GPGPostScore(long score, int worldIndex, int levelIndex)
 {
     Debug.LogWarning("Score: " + score + " WorldIndex: " + worldIndex + " LevelIndex: " + levelIndex);
     PGServices.PostScoreToLadderboard(score, worldIndex, levelIndex);
 }
コード例 #4
0
 /// <summary>
 /// Autentica al usuario dentro de Google Play Games
 /// </summary>
 private void InitGooglePlayGamesServices()
 {
     authenticated = PGServices.AuthenticateUser();
     authenticated = true;
 }