言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

HostData.guid

public var guid: string;

Description

NATパンチスルーとの接続時に必要なホストのGUIDを返す

	// Requests info from the master server and prints
	// the GUID

	function Start() {
		var hostData : HostData[] = MasterServer.PollHostList();
		for(var element : HostData in hostData) {
			Debug.Log(element.gameName + " guid: " + element.guid + "\n");
		}
	}