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