// Method for the show leaderboard button. public void ShowLeaderboard() { SoundManager.Instance.ButtonSFX(); // If the user is logged into google play services. if (Social.localUser.authenticated) { GooglePlayManager.ShowLeaderboardUI(); } // Ask the user if the would like to try logging in. else { // Run the not signed in method. NoAuth(); } }
public void OnLeaderboard() { GooglePlayManager.ShowLeaderboardUI(); }