feat: move Lua scripts to Script/lua and add binary UE bundle packing
This commit is contained in:
1 parent
256a60ac80
commit
ebce41f347
41 files changed
+1545
-57
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# TypeScript Scripts (`Script/ts`)
|
||||
|
||||
此目录用于存放 `ts2lua`(如 TypeScriptToLua / TSTL)的 TypeScript 源代码、类型声明(`.d.ts`)与构建配置(`tsconfig.json` / `package.json`)。
|
||||
|
||||
建议配置:
|
||||
- `tsconfig.json` 中的 `outDir` 指向 `../lua`(或 `../lua/Game` 等子目录,与手写 Lua 框架目录 `../lua/Framework` 隔离)。
|
||||
- 开发期在 PIE 中直接读取 `Script/lua/` 下的实时输出文件。
|
||||
- 打包发布时,先执行 `ts2lua` 编译,再由 UE Cook 流程自动将 `Script/lua/` 打包为二进制 UE 资源 `/Game/Generated/DA_LuaBundle`。
|
||||
Reference in new issue
Block a user