Network.proxyIP 代理IP

static var proxyIP : string

Description描述

The IP address of the proxy server.

代理服务器的IP地址。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Awake() {
		Network.proxyIP = "1.1.1.1";
		Network.proxyPort = 1111;
	}
}
function Awake() {
	Network.proxyIP = "1.1.1.1";
	Network.proxyPort = 1111;
}
最后修改:2011年4月2日 Saturday 15:35

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。