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

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

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

 

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

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

 

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

蛋疼!

 

相关文章:

  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2021-10-20
  • 2022-12-23
  • 2021-12-17
猜你喜欢
  • 2021-07-15
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2021-10-07
  • 2021-09-08
  • 2021-10-27
相关资源
相似解决方案