// Use this for initialization void Start() { InitClientApp(); CProtoManager dataplat = new CProtoManager(); dataplat.LoadXMLS(); ///----------------------------------------------------------------- ///数据初始化 CScriptLuaMgr scripmgr = new CScriptLuaMgr(); scripmgr.InitLuaMgr(); //------------------------------------------------------------------ // UI 系统的初始化操作 GameUIManager PanelMgr = LuaFramework.LuaHelper.GetPanelManager(); PanelMgr.InitFrames(); CQuestMgr questMgr = new CQuestMgr(); questMgr.InitQuest(); CItemMgr itemgr = new CItemMgr(); itemgr.InitIteMgr(); CFightTeamMgr.Instance.Initlize(); ///----------------------------------------------------------------- }
public CScriptLuaMgr( ) { Inst = this; m_mapScript = new Dictionary <string, CGameScript>(); }