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.
public static bool GetPropertyBool(string name, BuildTargetGroup target)
Parameters
Name of the property.
BuildTarget for which the property should apply (use default value BuildTargetGroup.Unknown to apply to all targets).
Returns
Type | Description |
|---|---|
| bool | The 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.
public static bool GetPropertyBool(string name)
Parameters
Name of the property.
Returns
Type | Description |
|---|---|
| bool | The current value of the property. |
Remarks
Additional Resources: PlayerSettings.SetPropertyBool.