Skip to content

Commit

Permalink
更新readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Aug 13, 2024
1 parent 68f488e commit 6f2a561
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
y3.game:event('玩家-发送指定消息', 'Link Start', function (trg, data)
y3.develop.helper.init(11037)
end)
-- 允许在平台中执行本地代码
y3.config.code.enable_local = true
```
2.VSCode的设置中将 `Y3-Helper.ServerPort` 改为上述相同的端口号 `11037`
3. 重启VSCode,确保插件应用了新的端口号
Expand All @@ -70,6 +72,5 @@
2. `git clone` 或其他方式下载本插件项目源码
3. 使用VSCode打开项目文件夹
4. 在终端中使用 `npm install` 命令,安装相关依赖
5. 在终端中使用 `npm install -g typescript` 命令以支持tsc
6. 按下 `ctrl+shift+B` 启动实时编译
7.F5启动新的VSCode窗口测试代码
5. 按下 `ctrl+shift+B` 启动实时编译
6.F5启动新的VSCode窗口测试代码

0 comments on commit 6f2a561

Please sign in to comment.