示例#1
0
 private void OnCloseUIFormComplete(object sender, Ash.Core.UI.CloseUIFormCompleteEventArgs e)
 {
     if (m_EnableCloseUIFormCompleteEvent)
     {
         m_EventComponent.Fire(this, ReferencePool.Acquire <CloseUIFormCompleteEventArgs>().Fill(e));
     }
 }
        /// <summary>
        /// 填充关闭界面完成事件。
        /// </summary>
        /// <param name="e">内部事件。</param>
        /// <returns>关闭界面完成事件。</returns>
        public CloseUIFormCompleteEventArgs Fill(Ash.Core.UI.CloseUIFormCompleteEventArgs e)
        {
            SerialId        = e.SerialId;
            UIFormAssetName = e.UIFormAssetName;
            UIGroup         = e.UIGroup;
            UserData        = e.UserData;

            return(this);
        }