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