方法:
Network.IntializeServer(int connections, int listenPort, bool useNat);
参数:
int connections: 允许入站连接或玩家的数量.
int listenPort: 要监听的端口
bool useNat: 是否使用Nat穿透
方法:
参数:
int connections: 允许入站连接或玩家的数量.
int listenPort: 要监听的端口
bool useNat: 是否使用Nat穿透
本文标题:使用Network创建服务器
本文链接:https://www.haomeiwen.com/subject/jmespttx.html
网友评论