//	Method for the show achievements button.
 public void ShowAchievements()
 {
     SoundManager.Instance.ButtonSFX();
     //	If the user is logged into google play services.
     if (Social.localUser.authenticated)
     {
         GooglePlayManager.ShowAchievementUI();
     }
     //  Ask the user if the would like to try logging in.
     else
     {
         //	Run the not signed in method.
         NoAuth();
     }
 }
 public void OnAchive()
 {
     GooglePlayManager.ShowAchievementUI();
 }
Beispiel #3
0
 public void OnAchiveButtonDown()
 {
     MainMenu.ButtonDown();
     GooglePlayManager.ShowAchievementUI();
 }