vault backup: 2023-08-03 14:15:35
This commit is contained in:
@@ -53,7 +53,7 @@ tsc xxx.ts
|
||||
"@types/mocha": "^7.0.1"
|
||||
}
|
||||
```
|
||||
5. 代码写在项目目录下的`Content/TypeScript`中。
|
||||
5. ~~代码写在项目目录下的`Content/TypeScript`中。~~
|
||||
6. 之后就会在编辑器`Blueprints/TypeScript`目录下出现资产图标。
|
||||
7. 加入ReactUMG。
|
||||
1. 进入 Content/javascript 目录 npm init 创建 package.json。
|
||||
@@ -67,6 +67,7 @@ tsc xxx.ts
|
||||
3. 然后 npm install 一次。
|
||||
4. 打开工程根目录的 tsconfig.json, 在 typeRoots 中 加入 "Plugins/ReactUMG/Typing"。
|
||||
8. 打开 工程,在引擎中点击 ue.d.ts 。
|
||||
9. 在`ProjectSettings - Packaging - Additional Not-Asset Directories to Package`中添加`Content/javaScript`。
|
||||
### Node环境设置
|
||||
|
||||
### 调试方法
|
||||
|
Reference in New Issue
Block a user