# GetCustomPropertyFloat<T>(T)

> Check whether a custom property is a float type and return its value.

## Definition

* **Type:** Method
* **Namespace:** [Unity.ProjectAuditor.Editor](/engine/6000.6/script-reference/unity/projectauditor/editor.md)
* **Assembly:** UnityEditor

```csharp
public float GetCustomPropertyFloat<T>(T propertyEnum) where T : struct
```

### Parameters

**** (T): Enum value indicating a property.

### Returns

| Type                                                          | Description                                                                                                      |
| ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | Returns the property's value if the property is valid and if the value is a float type. Otherwise, returns 0.0f. |
