GetPropertyInt
Returns a PlayerSettings named int property (with an optional build target it should apply to).
읽는 시간 1분최근 업데이트: 한 달 전
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.