Version: 5.4

PlayerSettings.GetPropertyOptionalInt

매뉴얼로 전환
public static bool GetPropertyOptionalInt (string name, ref int value, BuildTargetGroup target= BuildTargetGroup.Unknown);

파라미터

name Name of the property.
value Variable, to which to store the value of the property, if set.
target An optional build target group, to which the property applies.

반환

bool True if property was set and it's value assigned to given variable.

설명

Searches for property and assigns it's value to given variable.

Property is not required to exist. If it doesn't exist, value variable will not be changed and this method will return false.