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