Go to file
hypercross 26a0a3c2e0 feat: docs and more externals 2025-03-30 12:27:26 +08:00
src feat: docs and more externals 2025-03-30 12:27:26 +08:00
.gitignore init 2025-03-30 12:16:05 +08:00
package-lock.json init 2025-03-30 12:16:05 +08:00
package.json init 2025-03-30 12:16:05 +08:00
readme.md feat: docs and more externals 2025-03-30 12:27:26 +08:00
rspack.config.ts feat: docs and more externals 2025-03-30 12:27:26 +08:00
tsconfig.json init 2025-03-30 12:16:05 +08:00

readme.md

Unity Puerts 模板

工作方式

  1. 正常npm项目输出一个js bundle与unity独立
  2. 依赖Unity生成的类型绑定将打包放入同一目录的Resources文件夹内

安装配置

  1. clone本仓库到unity项目外任意路径npm install安装依赖
  2. 将Unity项目的Assets/Gen symlink到根目录下
  3. 配置.gitignore,忽略Assets/Gen文件夹内容