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