示例#1
0
 public static void SetFloat(string key, float value)
 {
     EditorPrefs.SetFloatInternal(key, value);
     if (EditorPrefs.onValueWasUpdated != null)
     {
         EditorPrefs.onValueWasUpdated(key);
     }
 }
示例#2
0
 public static void SetString(string key, string value)
 {
     EditorPrefs.SetStringInternal(key, value);
     if (EditorPrefs.onValueWasUpdated != null)
     {
         EditorPrefs.onValueWasUpdated(key);
     }
 }
示例#3
0
 public static void SetBool(string key, bool value)
 {
     EditorPrefs.SetBoolInternal(key, value);
     if (EditorPrefs.onValueWasUpdated != null)
     {
         EditorPrefs.onValueWasUpdated(key);
     }
 }