示例#1
0
        private static void _init_view_data(E_ViewId id, E_PanelType type, string pfbName, E_PanelBgType showMode = E_PanelBgType.NOTHING,
                                            bool hasBgClickClose = true)
        {
            PanelInfo view = new PanelInfo(id, type, ResPath.Get(PathType.PANEL_PFB, pfbName));

            view._showMode        = showMode;
            view._hasBgClickClose = hasBgClickClose;
            ViewPrefabMap.Add(id, view);
            _viewCount++;
        }
示例#2
0
        public bool _hasBgClickClose   = true;                          //点击不关闭本界面

        //public System.Object Info { get; set; }

        public PanelInfo(E_ViewId viewId, E_PanelType viewType, string name)
        {
            _viewId   = viewId;
            _viewType = viewType;
            _pfbName  = name;
        }