Esempio n. 1
0
 public static bool isLevelUnlocked(StageButton sButton)
 {
     return(PlayerPrefs.GetInt(sButton.id + "isUnlocked", 0) == 1);
 }
Esempio n. 2
0
 public static void LockLevel(StageButton sButton)
 {
     PlayerPrefs.SetInt(sButton.id + "isUnlocked", 0);
 }