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