public void InitQuest( ) { if (m_QuestData != null) { // load quest proto m_QuestData.LoadQuestProto(); // load quest name m_QuestData.LoadQuestName(); } if (m_Script != null && CScriptLuaMgr.Inst.m_luaState != null) { m_Script.InitLua(CScriptLuaMgr.Inst.m_luaState); } }