Пример #1
0
 //释放界面
 private void ReleaseView(UIViewBase view)
 {
     if (view != null)
     {
         view.OnExit();
     }
 }
Пример #2
0
        //释放界面
        private void ReleaseView(UIViewBase view)
        {
            if (view != null)
            {
                view.OnExit();

#if UNITY_EDITOR
                Destroy(view.gameObject);
#endif
            }
        }