public static void SetInt(string key, int value) { EditorPrefs.SetIntInternal(key, value); if (EditorPrefs.onValueWasUpdated != null) { EditorPrefs.onValueWasUpdated(key); } }