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

スクリプト言語

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

Network.incomingPassword

public static var incomingPassword: string;

Description

サーバーのパスワード(入接続)

This must be matched in the Network.Connect routine on the clients. Pass "" to specify no password (this is default).

	function ConnectToServer () {
		Network.Connect("127.0.0.1", 25000, "HolyMoly");
	}

	function LaunchServer () {
		Network.incomingPassword = "HolyMoly";
		Network.InitializeServer(32, 25000);
	}