Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCustomPropertyUInt64<T>(T)

Check whether a custom property is a ulong type and return its value.
Read time 1 minuteLast updated 10 days ago

Definition

public ulong GetCustomPropertyUInt64<T>(T propertyEnum) where T : struct

Parameters

propertyEnum

T
Enum value indicating a property.

Returns

Type

Description

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