# iogame-unity **Repository Path**: licheng1013/iogame-unity ## Basic Information - **Project Name**: iogame-unity - **Description**: iogame-unity 示例 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 10 - **Created**: 2022-09-04 - **Last Updated**: 2024-08-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: io-game示例 ## README # iogame-unity ## 介绍 - iogame-unity 示例 ## Unity - unity版本 - 2021.3.4f1c1 ## WebSocket - webScoket使用的: [https://github.com/psygames/UnityWebSocket](https://github.com/psygames/UnityWebSocket) ## SpringBoot示例 - 在线文档示例 [https://www.yuque.com/iohao/game/zm6qg2](https://www.yuque.com/iohao/game/zm6qg2) ## 示例 ### 官方示例 - [https://gitee.com/iohao/iogame-example/tree/main/example-springboot/spring-game-logic-hall](https://gitee.com/iohao/iogame-example/tree/main/example-springboot/spring-game-logic-hall) ### 个人示例 - 与官方略有不同 - ~~跟在线文档不同的是 Entity 其他基本一致。~~ - ~~个人示例~~ - ~~[https://gitee.com/licheng1013/io-game](https://gitee.com/licheng1013/io-game)~~ ## Proto - proto 编译的版本为 protoc-21.5 - Assets/Plugins 里面放入的是从编译好的 proto c# 依赖,直接复制使用即可 ### 编译Proto - proto 编译需要从 github 下载编译器 [https://github.com/protocolbuffers/protobuf/releases](https://github.com/protocolbuffers/protobuf/releases) - win64编译器 [https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-21.5-win64.zip](https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-21.5-win64.zip) - 需要自行配置环境变量,否则下面脚本无法执行。 - ![](images/1662394147476.jpg) - build.bat 此脚本用于编译当前脚本目录下的所有 *.proto 文件,编译保存后的目录为上一层的 entity 目录