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

スクリプト言語

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

Application.webSecurityEnabled

public static var webSecurityEnabled: bool;

Description

Web Player のセキュリティが有効になっているか確認する。

WebPlayerでは、これは常にtrueを返します。 Unityエディタでは、Web Security Emulationが有効(Menu->Edit->Project Settings->Editor)担っている場合、trueを返します。無効の場合はfalseを返します。 他のすべてのプラットフォームでは、falseを返します。 このプロパティは読み込み専用です。