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