Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetPropertyBool

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

SetPropertyBool(string, bool, BuildTargetGroup)

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

Parameters

name

Name of the property.

value

Value of the property (bool).

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

Remarks

Additional Resources: PlayerSettings.GetPropertyBool.

SetPropertyBool(string, bool)

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

Parameters

name

Name of the property.

value

Value of the property (bool).

Remarks

Additional Resources: PlayerSettings.GetPropertyBool.

SetPropertyBool(string, bool, BuildTarget)

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

Parameters

name

Name of the property.

value

Value of the property (bool).

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

Remarks

Additional Resources: PlayerSettings.GetPropertyBool.