public static void SetFloat(string key, float value) { EditorPrefs.SetFloatInternal(key, value); if (EditorPrefs.onValueWasUpdated != null) { EditorPrefs.onValueWasUpdated(key); } }
public static void SetString(string key, string value) { EditorPrefs.SetStringInternal(key, value); if (EditorPrefs.onValueWasUpdated != null) { EditorPrefs.onValueWasUpdated(key); } }
public static void SetBool(string key, bool value) { EditorPrefs.SetBoolInternal(key, value); if (EditorPrefs.onValueWasUpdated != null) { EditorPrefs.onValueWasUpdated(key); } }