GetCustomPropertyDouble<T>(T)
Check whether a custom property is a double type and return its value.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.ProjectAuditor.Editor
- Assembly: UnityEditor
public double GetCustomPropertyDouble<T>(T propertyEnum) where T : struct
Parameters
Returns
Type | Description |
|---|---|
| double | Returns the property's value if the property is valid and if the value is a double type. Otherwise, returns 0.0. |