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