static void APRInjectorWindow() { if (_instance == null) { APR_Settings_Injector window = ScriptableObject.CreateInstance(typeof(APR_Settings_Injector)) as APR_Settings_Injector; window.maxSize = new Vector2(350f, 180f); window.minSize = window.maxSize; window.ShowUtility(); } }
void OnDisable() { _instance = null; }
void OnEnable() { _instance = this; }