Unity LuaFramework LuaBundleMode

 

设置 AppConst.cs 中的 LuaBundleMode 为 true,开启 Lua 代码 AssetBundle 模式。

启动程序报错,Moudle XXX not found.

我在 Assets/LuaFramework/Lua/ 下新建了一个 excel 目录,这个目录中的文件都无法加载。

 

查代码后发现需要在 LuaManager.cs 的 InitLuaBundle 函数中手动添加 excel 路径

loader.AddBundle("lua/lua_excel.unity3d");

 

所有新添加的目录都得手动加进代码。

蛋疼!

 

posted on 2016-12-14 14:17  明天有风吹  阅读(783)  评论(0编辑  收藏  举报

导航

+V atob('d2h5X251bGw=')

请备注:from博客园