示例#1
0
        IEnumerator ShowUIBase(IUIBase i_ui_base, object data = null)
        {
            if (i_ui_base == null)
            {
                yield break;
            }
            UIHelper.SetActive(i_ui_base.GameObject, true);
            i_ui_base.OnShow(data);
            if (!i_ui_base.IsStateUI)
            {
                Forward(i_ui_base);
            }

            yield return(i_ui_base.PlayEnterAnim());
        }