# ConditionAttribute(string)

> Initializes a new instance of the ConditionAttribute class.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.7/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

```csharp
public ConditionAttribute(string title)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The title displayed for the condition type in the add-condition menu.
