##报“please install the Tools” 没有把Tools安装到Assets平级目录,安装包,或者master下都能找到这个目录。 ##报“This delegate/interface must add to CSharpCallLua : XXX”异常怎么解决? 在编辑器下xLua不生成代码都可以运行,出现这种提示,要么是该类型没加CSharpCallLua,要么是加之前生成过代码,没重新执行...
在编辑器下xLua不生成代码都可以运行,出现这种提示,要么是该类型没加CSharpCallLua,要么是加之前生成过代码,没重新执行生成。 解决办法,确认XXX(类型名)加上CSharpCallLua后,清除代码后运行。 2.报“please install the Tools” 没有把Tools安装到Assets平级目录,安装包,或者master下都能找到这个目录。
一:环境初始化 1.在PlayerSettings里面添加宏信息 HOTFIX_ENABLE 2.执行菜单生成命令 XLua>Generate Code,会生成Wrip文件存放在Xlua/Gen目录 3.执行菜单注入命令 XLua>HotFix Inject In Editor成功后会有输出日志提示,如果有报错提示“please install the tools”,就需要把Xlua原工程里面的Tools文件夹拷贝到项目里跟As...
如果点击Hotfix Inject In Editor时报错:please install the Tools 则需要将xLua插件中的Tools文件夹也导入Unity工程中(注意与Assets文件夹同级) 二:xLua的一些坑 ——没有导入Tools文件夹 如果报以下错误:please install the Tools 则需要将xLua插件中的Tools文件夹也导入Unity工程中(注意与Assets文件夹同级) ——Unt...
原因在mac 下不识别路径 ./Tools/XLuaHotfixInject.exe 改成 Assets/Tools/XLuaHotfixInject.exe 文件在 Hotfix.cs 文件中的1615 行 var inject_tool_path = "Assets/Tools/XLuaHotfixInject.exe"; if (!File.Exists(inject_tool_path)) { UnityEngine.Debug.LogError("please install the Tools"); ...
报“please install the Tools” 没有把Tools安装到Assets平级目录,安装包,或者master下都能找到这个目录。 报“This delegate/interface must add to CSharpCallLua : XXX”异常怎么解决? 在编辑器下xLua不生成代码都可以运行,出现这种提示,要么是该类型没加CSharpCallLua,要么是加之前生成过代码,没重新执行生成。
报“please install the Tools” 没有把Tools安装到Assets平级目录,安装包,或者master下都能找到这个目录。 报“This delegate/interface must add to CSharpCallLua : XXX”异常怎么解决? 在编辑器下xLua不生成代码都可以运行,出现这种提示,要么是该类型没加CSharpCallLua,要么是加之前生成过代码,没重新执行生成。
在配置完成后我们可以在菜单栏看到xlua image.png xlua下有三个菜单栏分别是:编译代码(每当有c#代码更新),清空编译,注入编译器(生成后就需要注入编译器) 点击编译后报错please install the Tools: image.png 那是因为我们没有把git下载的工程上的tool拷贝过来 ...
报“please install the Tools” 没有把Tools安装到Assets平级目录,安装包,或者master下都能找到这个目录。 报“This delegate/interface must add to CSharpCallLua : XXX”异常怎么解决? 在编辑器下xLua不生成代码都可以运行,出现这种提示,要么是该类型没加CSharpCallLua,要么是加之前生成过代码,没重新执行生成。
报“please install the Tools” 没有把Tools安装到Assets平级目录,安装包,或者master下都能找到这个目录。 报“This delegate/interface must add to CSharpCallLua : XXX”异常怎么解决? 在编辑器下xLua不生成代码都可以运行,出现这种提示,要么是该类型没加CSharpCallLua,要么是加之前生成过代码,没重新执行生成。