기술 자료

Unity Engine

Unity Engine

SetPropertyBool

This is now obsolete. Use an explicit API instead. For example, PlayerSettings.WebGL.useEmbeddedResources.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

SetPropertyBool(string, bool, BuildTargetGroup)

This is now obsolete. Use an explicit API instead. For example, PlayerSettings.WebGL.useEmbeddedResources.
경고
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.
경고
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.
경고
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.