فهرست منبع

update run guide,add start server command

tanghai 3 سال پیش
والد
کامیت
9b9f512b45
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 3 1
      Book/1.1RunGuide.md
  2. 3 1
      Book/1.1运行指南.md

+ 3 - 1
Book/1.1RunGuide.md

@@ -29,7 +29,9 @@
 
 9. export protocol tool, compile and enter Bin directory, execute dotnet Tools.dll --AppType=Proto2CS  
 
-10. Double-click the Init scene in the Scenes directory in Unity and click Play to run it.
+10. start server: dotnet Server.dll --Process=1 --Console=1  
+
+11. Double-click the Init scene in the Scenes directory in Unity and click Play to run it.
 
 # Test state synchronization demo
 1. If you want to modify the configuration, go to the Excel directory and modify the corresponding table, do step 6 of the running steps, and then re-run the Server.App project to start the server.

+ 3 - 1
Book/1.1运行指南.md

@@ -29,7 +29,9 @@
 
 9.  导出协议工具,编译完成后进入 Bin 目录,执行 dotnet Tools.dll --AppType=Proto2CS  
 
-10.  Unity中双击Scenes目录中的Init场景,点击Play即可运行
+10. 启动服务器: dotnet Server.dll --Process=1 --Console=1
+
+11.  Unity中双击Scenes目录中的Init场景,点击Play即可运行
 
 # 测试状态同步demo
 1. 想修改配置就进入 Excel 目录修改对应的表格,做运行步骤的第6步,然后重新运行 Server.App工程来启动服务端。