Example #1
0
 void OnValidate()
 {
     if (this == settings)
     {
         TBH.Initialize();
     }
 }
Example #2
0
 static void MenuSettings()
 {
     EditorPrefs.DeleteKey(noCreationKey);
     Define();
     TBH.Initialize();
     if (settings != null)
     {
         Selection.activeObject = settings;
     }
 }