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).
public static int GetPropertyInt(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 |
|---|---|
| int | The 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).
public static int GetPropertyInt(string name)
Parameters
Name of the property.
Returns
Type | Description |
|---|---|
| int | The current value of the property. |
Remarks
Additional Resources: PlayerSettings.SetPropertyInt.