# Icon

> The icon displayed for this condition in the transition inspector, or null if none is set.

## Definition

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

```csharp
public Texture2D Icon { get; set; }
```

### Remarks

Not persisted with the graph. Set this to one of [DebugStyles.TrueIcon](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/debugstyles/trueicon.md), [DebugStyles.FalseIcon](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/debugstyles/falseicon.md), [DebugStyles.PendingIcon](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/debugstyles/pendingicon.md), or a custom icon, to visually indicate the evaluation status of this condition. A visualization tool that doesn't own the graph asset can override the displayed icon without changing this value; see [ConditionReference.Icon](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/conditionreference/icon.md).

### Examples

```csharp
Icon = DebugStyles.PendingIcon;
```
