Network.TestConnection 中使用的连接测试器的端口。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void ResetIP() { Network.connectionTesterIP = "127.0.0.1"; Network.connectionTesterPort = 10000; } }