GetCustomPropertyInt64<T>(T)
Check whether a custom property is a long type and return its value.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.ProjectAuditor.Editor
- Assembly: UnityEditor
public long GetCustomPropertyInt64<T>(T propertyEnum) where T : struct
Parameters
Returns
Type | Description |
|---|---|
| long | Returns the property's value if the property is valid and if the value is a long type. Otherwise, returns 0. |