xLua
xLua copied to clipboard
InvalidCastException: This type must add to CSharpCallLua: XLuaTest.InvokeLua+CalcNew
Unity 2020.1.7f1c1
InvalidCastException: This type must add to CSharpCallLua: XLuaTest.InvokeLua+CalcNew XLua.LuaTable.GetInPath[T] (System.String path) (at Assets/XLua/Src/LuaTable.cs:160) XLuaTest.InvokeLua.Test (XLua.LuaEnv luaenv) (at Assets/XLua/Examples/04_LuaObjectOrented/InvokeLua.cs:99) XLuaTest.InvokeLua.Start () (at Assets/XLua/Examples/04_LuaObjectOrented/InvokeLua.cs:92)
https://github.com/Tencent/xLua/blob/master/Assets/XLua/Doc/faq.md#unity-2018%E5%8F%8A%E4%BB%A5%E4%B8%8A%E7%89%88%E6%9C%AC%E5%85%BC%E5%AE%B9%E6%80%A7%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3