-
新建unity project
-
clone 代码
$ git clone https://github.com/en/unity-lib.git Assets/Scripts/NetProto
-
新建一个Empty Object, 添加脚本组件Sample/Main.cs
-
Assets下新建文本文件smcs.rsp, 因为mono库中了unsafe关键字(需要重启unity)
-unsafe
-
部署好gonet/2服务端,修改Main.cs中的IP地址,运行unity测试
cdgcgg / unity-lib Goto Github PK
View Code? Open in Web Editor NEWThis project forked from en/libunity
A client-side library of gonet/2
License: MIT License