Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropertyInt

Returns a PlayerSettings named int property (with an optional build target it should apply to).
Read time 1 minuteLast updated 11 days ago

Definition

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

GetPropertyInt(string, BuildTargetGroup)

Returns a PlayerSettings named int property (with an optional build target it should apply to).
Warning
Deprecated. Use explicit API instead.
public static int GetPropertyInt(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

intThe current value of the property.

Remarks

Additional Resources: PlayerSettings.SetPropertyInt.

GetPropertyInt(string)

Returns a PlayerSettings named int property (with an optional build target it should apply to).
Warning
Deprecated. Use explicit API instead.
public static int GetPropertyInt(string name)

Parameters

name

Name of the property.

Returns

Type

Description

intThe current value of the property.

Remarks

Additional Resources: PlayerSettings.SetPropertyInt.