# attribute

> The PropertyAttribute for the decorator. (Read Only)

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public PropertyAttribute attribute { get; }
```

### Remarks

See [DecoratorDrawer](/engine/6000.5/script-reference/unityeditor/decoratordrawer.md) for an example of how to use this.
