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