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

スクリプト言語

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

Application.isWebPlayer

public static var isWebPlayer: bool;

Description

Web Player でプレイしているか確認します(RO)

ゲームがWebPlayerから実行されている場合はtrueを返します。

	if (Application.isWebPlayer) {
		print("We are running this from inside of the web player!");
	}