IEnumerator OpenDelay(AppWindow window, UIParamInfo info) { while (!window.IsStarted) { yield return(null); } window.AddListeners(); window.Appear(info); }
IEnumerator ShowInspector(AppWindow window, UIParamInfo info) { isTween = true; if (mShowVfx != null) { mShowVfx.gameObject.SetActive(true); mShowVfx.Play(); } if (mCloseVfx != null) { mCloseVfx.Stop(); mCloseVfx.gameObject.SetActive(false); } window.AddListeners(); yield return(new WaitForSeconds(openDelay)); window.Appear(info); isTween = false; }