Network.connectionTesterIP

Switch to Manual
public static string connectionTesterIP ;

Description

Network.TestConnection 中使用的连接测试器的 IP 地址。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void ResetIP() { Network.connectionTesterIP = "127.0.0.1"; Network.connectionTesterPort = 10000; } }