Example #1
0
        public UIAttrSystem()
        {
            m_id2AttrDic = new Dictionary<UIFormID, UIAttrItem>();

            // ****************** Canvas_50 开始**********************

            // ****************** 第二层开始 ***********************
            m_id2AttrDic[UIFormID.eUITuJianTop] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUITuJianTop].m_canvasID = UICanvasID.eCanvas_50;
            m_id2AttrDic[UIFormID.eUITuJianTop].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUITuJianTop].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUITuJianTop].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UITuJian", "UITuJianTop", ".prefab");
            m_id2AttrDic[UIFormID.eUITuJianTop].m_scriptTypeName = "Game.UI.UITuJianTop";

            // ****************** 第二层结束 ***********************

            // ****************** 第四层开始 ***********************
            m_id2AttrDic[UIFormID.eUIInfo] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIInfo].m_canvasID = UICanvasID.eCanvas_50;
            m_id2AttrDic[UIFormID.eUIInfo].m_LayerID = UILayerID.eForthLayer;
            m_id2AttrDic[UIFormID.eUIInfo].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIInfo].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIInfo", "UIInfo", ".prefab");
            m_id2AttrDic[UIFormID.eUIInfo].m_scriptTypeName = "Game.UI.UIInfo";
            // ****************** 第四层结束 ***********************
            // ****************** Canvas_50 结束 **********************

            // ****************** Canvas_100 开始 **********************
            // ****************** 第二层开始 ***********************
            m_id2AttrDic[UIFormID.eUIPack] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIPack].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIPack].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIPack].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIPack].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIPack", "UIPack", ".prefab");
            m_id2AttrDic[UIFormID.eUIPack].m_scriptTypeName = "Game.UI.UIPack";

            m_id2AttrDic[UIFormID.eUIPack].m_bNeedLua = false;
            m_id2AttrDic[UIFormID.eUIPack].m_luaScriptPath = "LuaScript/UI/UIPack/UIPack.lua";
            m_id2AttrDic[UIFormID.eUIPack].m_luaScriptTableName = "UIPack";

            m_id2AttrDic[UIFormID.eUILogin] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUILogin].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUILogin].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUILogin].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUILogin].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UILogin", "UILogin", ".prefab");
            m_id2AttrDic[UIFormID.eUILogin].m_scriptTypeName = "Game.UI.UILogin";

            m_id2AttrDic[UIFormID.eUIHeroSelect] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIHeroSelect].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIHeroSelect].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIHeroSelect].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIHeroSelect].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIHeroSelect", "UIHeroSelect", ".prefab");
            m_id2AttrDic[UIFormID.eUIHeroSelect].m_scriptTypeName = "Game.UI.UIHeroSelect";

            m_id2AttrDic[UIFormID.eUIBlurBg] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIBlurBg].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIBlurBg].m_LayerID = UILayerID.eBtmLayer;
            m_id2AttrDic[UIFormID.eUIBlurBg].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIBlurBg].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIBlurBg", "UIBlurBg", ".prefab");
            m_id2AttrDic[UIFormID.eUIBlurBg].m_scriptTypeName = "Game.UI.UIBlurBg";

            m_id2AttrDic[UIFormID.eUITest] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUITest].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUITest].m_LayerID = UILayerID.eTopLayer;
            m_id2AttrDic[UIFormID.eUITest].addUISceneType(UISceneType.eUIScene_DZ);
            m_id2AttrDic[UIFormID.eUITest].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UITest", "UITest", ".prefab");
            m_id2AttrDic[UIFormID.eUITest].m_scriptTypeName = "Game.UI.UITest";

            m_id2AttrDic[UIFormID.eUIDZ] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIDZ].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIDZ].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIDZ].addUISceneType(UISceneType.eUIScene_DZ);
            m_id2AttrDic[UIFormID.eUIDZ].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIDZ", "UIDZ", ".prefab");
            m_id2AttrDic[UIFormID.eUIDZ].m_scriptTypeName = "Game.UI.UIDZ";

            m_id2AttrDic[UIFormID.eUIExtraOp] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIExtraOp].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIExtraOp].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIExtraOp].addUISceneType(UISceneType.eUIScene_DZ);
            m_id2AttrDic[UIFormID.eUIExtraOp].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIExtraOp", "UIExtraOp", ".prefab");
            m_id2AttrDic[UIFormID.eUIExtraOp].m_scriptTypeName = "Game.UI.UIExtraOp";

            m_id2AttrDic[UIFormID.eUIChat] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIChat].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIChat].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIChat].addUISceneType(UISceneType.eUIScene_DZ);
            m_id2AttrDic[UIFormID.eUIChat].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIChat", "UIChat", ".prefab");
            m_id2AttrDic[UIFormID.eUIChat].m_scriptTypeName = "Game.UI.UIChat";

            m_id2AttrDic[UIFormID.eUIJobSelect] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIJobSelect].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIJobSelect].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIJobSelect].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIJobSelect].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIJobSelect", "UIJobSelect", ".prefab");
            m_id2AttrDic[UIFormID.eUIJobSelect].m_scriptTypeName = "Game.UI.UIJobSelect";

            m_id2AttrDic[UIFormID.eUITuJian] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUITuJian].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUITuJian].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUITuJian].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUITuJian].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UITuJian", "UITuJian", ".prefab");
            m_id2AttrDic[UIFormID.eUITuJian].m_scriptTypeName = "Game.UI.UITuJian";

            m_id2AttrDic[UIFormID.eUIMain] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIMain].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIMain].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIMain].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIMain].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIMain", "UIMain", ".prefab");
            m_id2AttrDic[UIFormID.eUIMain].m_scriptTypeName = "Game.UI.UIMain";

            m_id2AttrDic[UIFormID.eUIHero] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIHero].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIHero].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIHero].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIHero].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIHero", "UIHero", ".prefab");
            m_id2AttrDic[UIFormID.eUIHero].m_scriptTypeName = "Game.UI.UIHero";

            m_id2AttrDic[UIFormID.eUIOpenPack] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIOpenPack].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIOpenPack].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIOpenPack].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIOpenPack].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIOpenPack", "UIOpenPack", ".prefab");
            m_id2AttrDic[UIFormID.eUIOpenPack].m_scriptTypeName = "Game.UI.UIOpenPack";

            m_id2AttrDic[UIFormID.eUIShop] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIShop].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIShop].m_LayerID = UILayerID.eThirdLayer;
            m_id2AttrDic[UIFormID.eUIShop].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIShop].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIShop", "UIShop", ".prefab");
            m_id2AttrDic[UIFormID.eUIShop].m_scriptTypeName = "Game.UI.UIShop";

            m_id2AttrDic[UIFormID.eUITask] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUITask].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUITask].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUITask].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUITask].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UITask", "UITask", ".prefab");
            m_id2AttrDic[UIFormID.eUITask].m_scriptTypeName = "Game.UI.UITask";

            m_id2AttrDic[UIFormID.eUIMaze] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIMaze].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIMaze].m_LayerID = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIMaze].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIMaze].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIMaze", "UIMaze", ".prefab");
            m_id2AttrDic[UIFormID.eUIMaze].m_scriptTypeName = "Game.UI.UIMaze";

            // ****************** 第二层结束 ***********************

            // ****************** 第四层开始 ***********************

            // ****************** 第四层结束 ***********************

            // ****************** 顶层开始 ***********************
            m_id2AttrDic[UIFormID.eUILogicTest] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUILogicTest].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUILogicTest].m_LayerID = UILayerID.eTopLayer;
            m_id2AttrDic[UIFormID.eUILogicTest].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUILogicTest].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UILogicTest", "UILogicTest", ".prefab");
            m_id2AttrDic[UIFormID.eUILogicTest].m_scriptTypeName = "Game.UI.UILogicTest";

            m_id2AttrDic[UIFormID.eUIGM] = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIGM].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIGM].m_LayerID = UILayerID.eTopLayer;
            m_id2AttrDic[UIFormID.eUIGM].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIGM].m_widgetPath = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIGM", "UIGM", ".prefab");
            m_id2AttrDic[UIFormID.eUIGM].m_scriptTypeName = "Game.UI.UIGM";
            // ****************** 顶层结束 ***********************
            // ****************** Canvas_100 结束 **********************

            m_luaCSBridgeUICore = new LuaCSBridgeUICore(this);
            m_luaCSBridgeUICore.DoFile("UI/UICore/UIAttrs.lua");
            m_luaCSBridgeUICore.loadLuaCfg();
        }
Example #2
0
        public UIAttrSystem()
        {
            m_id2AttrDic = new Dictionary <UIFormID, UIAttrItem>();

            // ****************** Canvas_50 开始**********************

            // ****************** 第二层开始 ***********************
            m_id2AttrDic[UIFormID.eUITuJianTop]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUITuJianTop].m_canvasID = UICanvasID.eCanvas_50;
            m_id2AttrDic[UIFormID.eUITuJianTop].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUITuJianTop].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUITuJianTop].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UITuJian", "UITuJianTop", ".prefab");
            m_id2AttrDic[UIFormID.eUITuJianTop].m_scriptTypeName = "Game.UI.UITuJianTop";

            // ****************** 第二层结束 ***********************

            // ****************** 第四层开始 ***********************
            m_id2AttrDic[UIFormID.eUIInfo]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIInfo].m_canvasID = UICanvasID.eCanvas_50;
            m_id2AttrDic[UIFormID.eUIInfo].m_LayerID  = UILayerID.eForthLayer;
            m_id2AttrDic[UIFormID.eUIInfo].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIInfo].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIInfo", "UIInfo", ".prefab");
            m_id2AttrDic[UIFormID.eUIInfo].m_scriptTypeName = "Game.UI.UIInfo";
            // ****************** 第四层结束 ***********************
            // ****************** Canvas_50 结束 **********************

            // ****************** Canvas_100 开始 **********************
            // ****************** 第二层开始 ***********************
            m_id2AttrDic[UIFormID.eUIPack]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIPack].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIPack].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIPack].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIPack].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIPack", "UIPack", ".prefab");
            m_id2AttrDic[UIFormID.eUIPack].m_scriptTypeName = "Game.UI.UIPack";

            m_id2AttrDic[UIFormID.eUIPack].m_bNeedLua           = false;
            m_id2AttrDic[UIFormID.eUIPack].m_luaScriptPath      = "LuaScript/UI/UIPack/UIPack.lua";
            m_id2AttrDic[UIFormID.eUIPack].m_luaScriptTableName = "UIPack";

            m_id2AttrDic[UIFormID.eUILogin]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUILogin].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUILogin].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUILogin].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUILogin].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UILogin", "UILogin", ".prefab");
            m_id2AttrDic[UIFormID.eUILogin].m_scriptTypeName = "Game.UI.UILogin";

            m_id2AttrDic[UIFormID.eUIHeroSelect]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIHeroSelect].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIHeroSelect].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIHeroSelect].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIHeroSelect].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIHeroSelect", "UIHeroSelect", ".prefab");
            m_id2AttrDic[UIFormID.eUIHeroSelect].m_scriptTypeName = "Game.UI.UIHeroSelect";

            m_id2AttrDic[UIFormID.eUIBlurBg]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIBlurBg].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIBlurBg].m_LayerID  = UILayerID.eBtmLayer;
            m_id2AttrDic[UIFormID.eUIBlurBg].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIBlurBg].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIBlurBg", "UIBlurBg", ".prefab");
            m_id2AttrDic[UIFormID.eUIBlurBg].m_scriptTypeName = "Game.UI.UIBlurBg";

            m_id2AttrDic[UIFormID.eUITest]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUITest].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUITest].m_LayerID  = UILayerID.eTopLayer;
            m_id2AttrDic[UIFormID.eUITest].addUISceneType(UISceneType.eUIScene_DZ);
            m_id2AttrDic[UIFormID.eUITest].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UITest", "UITest", ".prefab");
            m_id2AttrDic[UIFormID.eUITest].m_scriptTypeName = "Game.UI.UITest";

            m_id2AttrDic[UIFormID.eUIDZ]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIDZ].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIDZ].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIDZ].addUISceneType(UISceneType.eUIScene_DZ);
            m_id2AttrDic[UIFormID.eUIDZ].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIDZ", "UIDZ", ".prefab");
            m_id2AttrDic[UIFormID.eUIDZ].m_scriptTypeName = "Game.UI.UIDZ";

            m_id2AttrDic[UIFormID.eUIExtraOp]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIExtraOp].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIExtraOp].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIExtraOp].addUISceneType(UISceneType.eUIScene_DZ);
            m_id2AttrDic[UIFormID.eUIExtraOp].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIExtraOp", "UIExtraOp", ".prefab");
            m_id2AttrDic[UIFormID.eUIExtraOp].m_scriptTypeName = "Game.UI.UIExtraOp";

            m_id2AttrDic[UIFormID.eUIChat]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIChat].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIChat].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIChat].addUISceneType(UISceneType.eUIScene_DZ);
            m_id2AttrDic[UIFormID.eUIChat].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIChat", "UIChat", ".prefab");
            m_id2AttrDic[UIFormID.eUIChat].m_scriptTypeName = "Game.UI.UIChat";

            m_id2AttrDic[UIFormID.eUIJobSelect]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIJobSelect].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIJobSelect].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIJobSelect].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIJobSelect].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIJobSelect", "UIJobSelect", ".prefab");
            m_id2AttrDic[UIFormID.eUIJobSelect].m_scriptTypeName = "Game.UI.UIJobSelect";

            m_id2AttrDic[UIFormID.eUITuJian]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUITuJian].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUITuJian].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUITuJian].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUITuJian].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UITuJian", "UITuJian", ".prefab");
            m_id2AttrDic[UIFormID.eUITuJian].m_scriptTypeName = "Game.UI.UITuJian";

            m_id2AttrDic[UIFormID.eUIMain]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIMain].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIMain].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIMain].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIMain].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIMain", "UIMain", ".prefab");
            m_id2AttrDic[UIFormID.eUIMain].m_scriptTypeName = "Game.UI.UIMain";

            m_id2AttrDic[UIFormID.eUIHero]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIHero].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIHero].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIHero].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIHero].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIHero", "UIHero", ".prefab");
            m_id2AttrDic[UIFormID.eUIHero].m_scriptTypeName = "Game.UI.UIHero";

            m_id2AttrDic[UIFormID.eUIOpenPack]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIOpenPack].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIOpenPack].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIOpenPack].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIOpenPack].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIOpenPack", "UIOpenPack", ".prefab");
            m_id2AttrDic[UIFormID.eUIOpenPack].m_scriptTypeName = "Game.UI.UIOpenPack";

            m_id2AttrDic[UIFormID.eUIShop]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIShop].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIShop].m_LayerID  = UILayerID.eThirdLayer;
            m_id2AttrDic[UIFormID.eUIShop].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIShop].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIShop", "UIShop", ".prefab");
            m_id2AttrDic[UIFormID.eUIShop].m_scriptTypeName = "Game.UI.UIShop";

            m_id2AttrDic[UIFormID.eUITask]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUITask].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUITask].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUITask].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUITask].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UITask", "UITask", ".prefab");
            m_id2AttrDic[UIFormID.eUITask].m_scriptTypeName = "Game.UI.UITask";

            m_id2AttrDic[UIFormID.eUIMaze]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIMaze].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIMaze].m_LayerID  = UILayerID.eSecondLayer;
            m_id2AttrDic[UIFormID.eUIMaze].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIMaze].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIMaze", "UIMaze", ".prefab");
            m_id2AttrDic[UIFormID.eUIMaze].m_scriptTypeName = "Game.UI.UIMaze";

            // ****************** 第二层结束 ***********************

            // ****************** 第四层开始 ***********************

            // ****************** 第四层结束 ***********************

            // ****************** 顶层开始 ***********************
            m_id2AttrDic[UIFormID.eUILogicTest]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUILogicTest].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUILogicTest].m_LayerID  = UILayerID.eTopLayer;
            m_id2AttrDic[UIFormID.eUILogicTest].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUILogicTest].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UILogicTest", "UILogicTest", ".prefab");
            m_id2AttrDic[UIFormID.eUILogicTest].m_scriptTypeName = "Game.UI.UILogicTest";

            m_id2AttrDic[UIFormID.eUIGM]            = new UIAttrItem();
            m_id2AttrDic[UIFormID.eUIGM].m_canvasID = UICanvasID.eCanvas_100;
            m_id2AttrDic[UIFormID.eUIGM].m_LayerID  = UILayerID.eTopLayer;
            m_id2AttrDic[UIFormID.eUIGM].addUISceneType(UISceneType.eUIScene_Game);
            m_id2AttrDic[UIFormID.eUIGM].m_widgetPath     = string.Format("{0}{1}/{2}{3}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathComUI], "UIGM", "UIGM", ".prefab");
            m_id2AttrDic[UIFormID.eUIGM].m_scriptTypeName = "Game.UI.UIGM";
            // ****************** 顶层结束 ***********************
            // ****************** Canvas_100 结束 **********************

            m_luaCSBridgeUICore = new LuaCSBridgeUICore(this);
            m_luaCSBridgeUICore.DoFile("UI/UICore/UIAttrs.lua");
            m_luaCSBridgeUICore.loadLuaCfg();
        }