private IEnumerator _OnViewShow(ViewBase view, object param = null) { if (view != null) { string prefabName = view.name; try { view.OnShow(param); } catch (Exception ex) { UnityEngine.Debug.LogError(ex); } try { view.AfterShow(); } catch (Exception ex) { UnityEngine.Debug.LogError(ex); } yield return(null); } }