# ApplyGizmoInfo(GizmoInfo, bool)

> Apply GizmoInfo.gizmoEnabled and GizmoInfo.iconEnabled for a GizmoInfo object.

## Definition

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

```csharp
public static void ApplyGizmoInfo(GizmoInfo info, bool addToRecentlyChanged = true)
```

### Parameters

**** (\[GizmoInfo]\(/engine/6000.7/script-reference/unityeditor/gizmoinfo)): The GizmoInfo to apply.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Set true to append this component to the "Recently Changed" list in the Annotation Window.

### Remarks

This is equivalent to calling [GizmoUtility.SetGizmoEnabled](/engine/6000.7/script-reference/unityeditor/gizmoutility/setgizmoenabled.md) and [GizmoUtility.SetIconEnabled](/engine/6000.7/script-reference/unityeditor/gizmoutility/seticonenabled.md).
