Network.connectionTesterIP 连接测试IP

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;
}
Page last updated: 2011-4-2