기술 자료

Unity Engine

Unity Engine

GetCustomPropertyUInt32<T>(T)

Check whether a custom property is a uint type and return its value.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public uint GetCustomPropertyUInt32<T>(T propertyEnum) where T : struct

Parameters

propertyEnum

T
Enum value indicating a property.

Returns

Type

Description

uintReturns the property's value if the property is valid and if the value is a uint type. Otherwise, returns 0.