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