public Setting(string key, T defaultValue = default(T)) { this.key = key; this.defaultValue = defaultValue; this.label = new GUIContent(ObjectNames.NicifyVariableName(key)); UserPrefs.Register(this); }
public static void DeletePrefs() { UserPrefs.DeleteAll(); }