Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op_16
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
op_16
Commits
0292a8d9
Commit
0292a8d9
authored
Feb 28, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: 联机模板说明
parent
3f4f7cff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
README.md
README.md
+17
-1
No files found.
README.md
View file @
0292a8d9
...
...
@@ -82,3 +82,19 @@ npm start
*
手机和电脑连接同一个Wifi
*
打开调试app,根据提示输入IP地址,点击开始就可以在手机上预览模板了
*
使用 this.log("==调试信息=="); 可以打印日志进行必要的调试
### 关于联机模板
*
网络连接相关的代码位置:
assets/script/NetworkHelper.ts
*
服务器相关代码位置:
assets/script/Server.ts
*
AI相关代码位置:
assets/script/AI.ts
*
注意要将以下代码中的"op_16"参数改为自己的模板名称
```
this.networkHelper.init("op_16", 2);
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment