摘要: 1、OnPlayerConnected 当一个新玩家成功连接时在服务器上被调用。 private int playerCount = 0; void OnPlayerConnected(NetworkPlayer player) { Debug.Log("Player" + playerCount 阅读全文
posted @ 2017-09-26 08:31 LiuChangwei 阅读(316) 评论(0) 推荐(0) 编辑