void InitLuaPath() { string rootPath = AppConst.FrameworkRoot; lua.AddSearchPath(rootPath + "/Lua"); lua.AddSearchPath(rootPath + "/ToLua/Lua"); //lua.AddSearchPath(Application.dataPath + "/Lua"); }