使用Tolua插件来解决在添加 Lua 模块时经常遇到找不到 Lua 文件的错误问题
发布时间
阅读量:
阅读量
Lua的require添加模块经常报错,找不到
LuaException: E:/UnityProJect/Calculator/Assets/Script/Lua/NpcManage.lua:4: module 'ClothingStore' not found:
no field package.preload['ClothingStore']
no file './ClothingStore.lua'
no file 'D:/Unity2018.3.0/Editor/lua/ClothingStore.lua'
no file 'D:/Unity2018.3.0/Editor/lua/ClothingStore/init.lua'
no file 'D:/Lua/5.1/lua/ClothingStore.luac'
no file 'E:/UnityProJect/Calculator/Assets/ToLua/Lua/ClothingStore.lua'
no file 'E:/UnityProJect/Calculator/Assets/Lua/ClothingStore.lua'
no
全部评论 (0)
还没有任何评论哟~
