Skip to content

doc: 修正文档错误 #822

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Design/UnityProfiler.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 使用Unity Profiler性能调优
1. 导出选项时勾选"Development Build"与"Autoconnec Profiler"

1. 导出选项时勾选"Development Build"与"Autoconnect Profiler"

<img src='../image/profile1.png' width="800"/>

Expand All @@ -17,7 +18,8 @@
4. 调整UnityProfiler IP/端口

网页WebGL/小游戏启动后将通过"ws://ip:port"自动连接到“Unity Profiler”, 此地址默认为编译机器的。如果无法连接请查看微信开发者工具Network页签对应的ws链接是否正常可达。
如需手工调整IP、端口可通修改webgl.framework.js:
如需手工调整IP、端口可通修改`webgl.wasm.framework.unityweb.js`:

```
if(port == 54998)
{
Expand Down
Loading