static var connectionTesterIP : string
Description描述
The IP address of the connection tester used in Network.TestConnection.
用在Network.TestConnection中的连接测试的IP地址。
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void ResetIP() {
Network.connectionTesterIP = "127.0.0.1";
Network.connectionTesterPort = 10000;
}
}
function ResetIP() {
Network.connectionTesterIP = "127.0.0.1";
Network.connectionTesterPort = 10000;
}