GetAttribute<TAttribute>()
Returns the first attribute of the given type.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
GetAttribute<T>()
public TAttribute GetAttribute<TAttribute>() where TAttribute : Attribute
Returns
Type | Description |
|---|---|
| T | The attribute of the given type for this property. |