diff --git a/.obsidian/plugins/various-complements/data.json b/.obsidian/plugins/various-complements/data.json index bdac71e..37a56d8 100644 --- a/.obsidian/plugins/various-complements/data.json +++ b/.obsidian/plugins/various-complements/data.json @@ -55,22 +55,6 @@ } } }, - "Kernel": { - "Kernel": { - "currentFile": { - "count": 1, - "lastUpdated": 1688357574366 - } - } - }, - "Address": { - "Address": { - "currentFile": { - "count": 1, - "lastUpdated": 1688357662546 - } - } - }, "Booter": { "Booter": { "currentFile": { @@ -79,14 +63,6 @@ } } }, - "EFI文件)": { - "EFI文件)": { - "currentFile": { - "count": 1, - "lastUpdated": 1688359005627 - } - } - }, "需要以下文件并将其放入": { "需要以下文件并将其放入": { "currentFile": { @@ -150,6 +126,14 @@ "lastUpdated": 1690972883636 } } + }, + "JavaScript": { + "JavaScript": { + "currentFile": { + "count": 1, + "lastUpdated": 1691039171629 + } + } } } } \ No newline at end of file diff --git a/03-UnrealEngine/Gameplay/PuerTS/Puerts(一)——学习资料归纳.md b/03-UnrealEngine/Gameplay/PuerTS/Puerts(一)——学习资料归纳.md index f1111cf..8c6cf93 100644 --- a/03-UnrealEngine/Gameplay/PuerTS/Puerts(一)——学习资料归纳.md +++ b/03-UnrealEngine/Gameplay/PuerTS/Puerts(一)——学习资料归纳.md @@ -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环境设置 ### 调试方法