# AddAttribute(Attribute)

> Adds an attribute to the property.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.6/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

```csharp
protected void AddAttribute(Attribute attribute)
```

### Parameters

**** (\[Attribute]\(https\://learn.microsoft.com/dotnet/api/system.attribute)): The attribute to add.
