Exemple #1
0
        /// <summary>
        /// 设置窗口隐藏参数
        /// </summary>
        /// <param name="hideFrameParam"></param>
        public void SetHideFrameParam(FrameMgr.HideUIParams hideFrameParam)
        {
            if (hideFrameParam.UIName != ResName)
            {
                Debug.LogError($"hide frame param error,frame real name: {this.ResName}, passed hide frame {hideFrameParam.UIName}");
            }

            this.m_hideFrameParam = hideFrameParam;
        }
Exemple #2
0
 public GUIFrame(FrameMgr.OpenUIParams openFrameParam)
 {
     m_frameResName        = openFrameParam.UIName;
     this.m_openFrameParam = openFrameParam;
     this.m_hideFrameParam = new FrameMgr.HideUIParams(openFrameParam.UIName);
 }