예제 #1
0
 public static void Store(ConfigManager.Name key, bool value)
 {
     PlayerPrefs.SetInt(key.ToString(), value ? 1 : 0);
 }
예제 #2
0
 public static bool GetBool(ConfigManager.Name key)
 {
     return(PlayerPrefs.GetInt(key.ToString()) == 1);
 }
예제 #3
0
 public static int GetInt(ConfigManager.Name key)
 {
     return(PlayerPrefs.GetInt(key.ToString()));
 }