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