跳到主要內容

發表文章

目前顯示的是 2月, 2025的文章

項目使用luban工具

使用Luban作爲游戲策劃表格數據支持工具  luban_examples ->  luban example luban_main ->  luban source 客戶端版本控管目錄 Project\tools\Luban Project\design Project\unity Project\server 將 luban 項目放到 luban目錄如下 Datas -> luban_examples\MiniTemplate\Datas Defines -> luban_examples\MiniTemplate\Defines src -> Luban source Tools -> luban_examples\Tools 編輯luban執行檔命令 HSLR\tools\Luban\Tools\build-luban.bat #!/bin/bash [ -d Luban ] && rm -rf Luban dotnet build ../../luban/src/Luban/Luban.csproj -c Release -o Luban 生成出來的 luban.dll 在這 tools\Luban\src\Luban\obj\Release\net8.0\ref\ 策劃資料位置 project\design\table luban工具位置 project\tools\Luban\ unity項目位置 project\unity\ 策畫表導出 project\tools\Luban\gen.bat 點擊 gen.bat, 執行導出流程 luban.conf luban配置檔, excel資料目錄、schema設置在此 輸出 json 檔案到 unityProject\Dev\DesignTable 輸出 cs 檔案到 unityProject\Scripts\Luban 查看 gen.bat 内容 如果要將excel目錄配置在 gen.bat 新增配置到 dotnet 後面即可 dotnet %LUBAN_DLL% ^ -t all ^ -d json ^ --conf %CONF_ROOT% ^ -x outputData...