LuaException: c# exception:[string “UI.TestUI“]:6: attempt to call a nil value (global ‘print‘)
Lua最近发现的错误,发现都没有提到这个方法,问题解决方法如下:
出错代码:
public class LuaBehaviour : MonoBehaviour
{
private LuaEnv m_LuaEnv = Manager.Lua.LuaEnv;
protected LuaTable m_ScripyEnv;
private Action m_LuaInit;
private Action m_LuaUpdate;
private Action m_LuaO
原创
2021-12-26 12:08:58 ·
1294 阅读 ·
0 评论