/// <summary> /// 关闭界面。 /// </summary> /// <param name="uiForm">要关闭的界面。</param> public void CloseUIForm(UIForm uiForm) { m_UIManager.CloseUIForm(uiForm); }
public static void CloseUIForm(this IUIManager uiManager, int uiFormId) { var uiForm = GetUIForm(uiManager, uiFormId); uiManager.CloseUIForm(uiForm); }
/// <summary> /// 关闭界面。 /// </summary> /// <param name="serialId">要关闭界面的序列编号。</param> public void CloseUIForm(int serialId) { m_UIManager.CloseUIForm(serialId); }
/// <summary> /// 关闭界面 /// </summary> /// <param name="serialId">要关闭界面的序列编号</param> /// <param name="userData">用户自定义数据</param> public void CloseUIForm(int serialId, object userData = null) { m_UIManager.CloseUIForm(serialId, userData); }