美文网首页
使用Network创建服务器

使用Network创建服务器

作者: Fuy_Liu | 来源:发表于2016-11-18 22:03 被阅读0次

方法:

Network.IntializeServer(int connections, int listenPort, bool useNat);

参数: 

int connections:  允许入站连接或玩家的数量.

int listenPort:  要监听的端口

bool useNat:  是否使用Nat穿透


相关文章

网友评论

      本文标题:使用Network创建服务器

      本文链接:https://www.haomeiwen.com/subject/jmespttx.html