Beispiel #1
0
 private void ClickSelectedOption()
 {
     if (DisplayNamePlayerPrefs.HasKey("IglooListType") && DisplayNamePlayerPrefs.HasKey("IglooListType"))
     {
         iglooListingType = (IglooListingType)DisplayNamePlayerPrefs.GetInt("IglooListType");
     }
     if (iglooListingType == IglooListingType.HighPopulations)
     {
         popularButton.onClick.Invoke();
     }
     else
     {
         friendsButton.onClick.Invoke();
     }
 }
Beispiel #2
0
 public void OnFriendsPressed()
 {
     iglooListingType = IglooListingType.Friends;
     getPlayers();
 }
Beispiel #3
0
 public void OnPopularPressed()
 {
     iglooListingType = IglooListingType.HighPopulations;
     getPlayers();
 }