기술 자료

Unity Engine

Unity Engine

GetPropertyInt

Returns a PlayerSettings named int property (with an optional build target it should apply to).
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

GetPropertyInt(string, BuildTargetGroup)

Returns a PlayerSettings named int property (with an optional build target it should apply to).
경고
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).
경고
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.