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