//释放界面 private void ReleaseView(UIViewBase view) { if (view != null) { view.OnExit(); } }
//释放界面 private void ReleaseView(UIViewBase view) { if (view != null) { view.OnExit(); #if UNITY_EDITOR Destroy(view.gameObject); #endif } }