Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropertyBool

This is now obsolete. Use an explicit API instead. For example, PlayerSettings.WebGL.useEmbeddedResources.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

GetPropertyBool(string, BuildTargetGroup)

This is now obsolete. Use an explicit API instead. For example, PlayerSettings.WebGL.useEmbeddedResources.
Warning
Deprecated. Use explicit API instead.
public static bool GetPropertyBool(string name, BuildTargetGroup target)

Parameters

name

Name of the property.

BuildTarget for which the property should apply (use default value BuildTargetGroup.Unknown to apply to all targets).

Returns

Type

Description

boolThe current value of the property.

Remarks

Additional Resources: PlayerSettings.SetPropertyBool.

GetPropertyBool(string)

This is now obsolete. Use an explicit API instead. For example, PlayerSettings.WebGL.useEmbeddedResources.
Warning
Deprecated. Use explicit API instead.
public static bool GetPropertyBool(string name)

Parameters

name

Name of the property.

Returns

Type

Description

boolThe current value of the property.

Remarks

Additional Resources: PlayerSettings.SetPropertyBool.