Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetPropertyInt

Sets a PlayerSettings named int property.
Read time 1 minuteLast updated 11 days ago

Definition

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

SetPropertyInt(string, int, BuildTargetGroup)

Sets a PlayerSettings named int property.
Warning
Deprecated. Use explicit API instead.
public static void SetPropertyInt(string name, int value, BuildTargetGroup target)

Parameters

name

Name of the property.

value

Value of the property (int).

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

Remarks

Additional Resources: PlayerSettings.GetPropertyInt.

SetPropertyInt(string, int)

Sets a PlayerSettings named int property.
Warning
Deprecated. Use explicit API instead.
public static void SetPropertyInt(string name, int value)

Parameters

name

Name of the property.

value

Value of the property (int).

Remarks

Additional Resources: PlayerSettings.GetPropertyInt.

SetPropertyInt(string, int, BuildTarget)

Sets a PlayerSettings named int property.
Warning
Deprecated. Use explicit API instead.
public static void SetPropertyInt(string name, int value, BuildTarget target)

Parameters

name

Name of the property.

value

Value of the property (int).

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

Remarks

Additional Resources: PlayerSettings.GetPropertyInt.