Esempio n. 1
0
 /// <summary>
 /// 关闭界面。
 /// </summary>
 /// <param name="uiForm">要关闭的界面。</param>
 public void CloseUIForm(UIForm uiForm)
 {
     m_UIManager.CloseUIForm(uiForm);
 }
Esempio n. 2
0
        public static void CloseUIForm(this IUIManager uiManager, int uiFormId)
        {
            var uiForm = GetUIForm(uiManager, uiFormId);

            uiManager.CloseUIForm(uiForm);
        }
Esempio n. 3
0
 /// <summary>
 /// 关闭界面。
 /// </summary>
 /// <param name="serialId">要关闭界面的序列编号。</param>
 public void CloseUIForm(int serialId)
 {
     m_UIManager.CloseUIForm(serialId);
 }
Esempio n. 4
0
 /// <summary>
 /// 关闭界面
 /// </summary>
 /// <param name="serialId">要关闭界面的序列编号</param>
 /// <param name="userData">用户自定义数据</param>
 public void CloseUIForm(int serialId, object userData = null)
 {
     m_UIManager.CloseUIForm(serialId, userData);
 }