接入luban配置表解决方案
前提工作:
安装dotnet sdk 6.0(opens new window)
https://dotnet.microsoft.com/zh-cn/download/dotnet/6.0
下载luban_examples项目 (opens new window)项目中包含测试配置、最新的Luban Release (opens new window)以及大量的示例项目。
https://github.com/focus-creative-games/luban_examples
快速上手:
把luban项目案例中的LubanLib拷贝到自己的项目中
创建自己的表,我这里就直接用实例目录下的,另外枚举类型加在_enums_.xlsx,另外一个暂时不管


3.执行gen.bat导出配置,导出后生成脚本在Gen文件夹下,json在output_json文件夹下
4.最后运用在项目里:path是存放json的路径


最后:
luban是个很强大的配置表解决方案,导出各种格式,安装插件直接以Excel表的方式编辑json等等
https://focus-creative-games.github.io/luban/about/#%E4%BB%8B%E7%BB%8D