Skip to content

Commit

Permalink
文档刷新
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Aug 13, 2021
1 parent 7f53be1 commit 84a9ffe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions doc/unreal/template_binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@

## !!注意

如果希望在JsEnv之外的地方使用该特性,比如游戏模块,需要使用动态库版本的v8库,切换方法
如果希望在JsEnv之外的地方使用该特性,比如游戏模块,需要

* 到puerts官网下载和puerts配套的v8库,解压于:“Plugins/Puerts/ThirdParty/”目录下
* 使用动态库版本的v8库,切换方法:

* 找到JsEnv.Build.cs文件,将UseNewV8变量改为true
- 到puerts官网下载和puerts配套的v8库,解压于:“Plugins/Puerts/ThirdParty/”目录下

- 找到JsEnv.Build.cs文件,将UseNewV8变量改为true

* 在该模块的“.Build.cs”文件中加入对JsEnv模块的依赖

* 该模块的“.Build.cs”文件中,将bEnableUndefinedIdentifierWarnings设置为false

## helloworld

Expand Down
2 changes: 1 addition & 1 deletion doc/unreal/vscode_debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GameScript->Start("QuickStart", Arguments);
### vscode以及UE编辑器的注意事项
* vscode下打开setting,搜索auto attach,将Debug>Node:Auto Attach设置为“on”
* vscode下打开setting,搜索auto attach,将Debug>Node:Auto Attach设置为“on”(高版本vscode没有该选项,可以不设置)
* 菜单打开“编辑->编辑器偏好设置”页面,在“通用->性能”中把“处于背景中时占用较少CPU”的勾选去掉,否则debug连接会很慢
Expand Down

0 comments on commit 84a9ffe

Please sign in to comment.