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