xLua
xLua copied to clipboard
'Input' does not contain a definition for 'IsJoystickPreconfigured'
环境:unity2018.3.0f2 打包exe的时候报错,如题。
这里找到一个类似的Light类的报错。https://github.com/Tencent/xLua/issues/237
按照上述链接中的提示,在黑名单中加入了:
new List
看下配置的文档
你黑名单配错了
谢谢,已解决。 对于带参数的方法,还需要把参数全路径传入。
具体来说是这样写的
new List<string>() { "UnityEngine.Input", "IsJoystickPreconfigured", "System.String" },
因为 IsJoystickPreconfigured 有个类型是 string 的参数