在生产实践中开发其实大部分为了更新的方便,许多公司都是采用的lua脚本开发,这里展示如何导入热更新的xlua包
下载解压后取Assets目录下的俩个文件导入项目中
出现了该报错
Assets\XLua\Examples\ExampleGenConfig.cs(112,36): error CS0246: The type or namespace name 'MemberInfo' could not be found (are you missing a using directive or an assembly reference?)
解决方法
把注释取消。
后续操作可参考如下链接