# OnToolGUI(EditorWindow)

> Implements any common functionality for the set of manipulation tools available for this context.

## Definition

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

```csharp
public virtual void OnToolGUI(EditorWindow window)
```

### Parameters

**** (\[EditorWindow]\(/engine/6000.6/script-reference/unityeditor/editorwindow)): The window that is displaying the active [EditorTool](/engine/6000.6/script-reference/unityeditor/editortools/editortool.md).

### Remarks

Unity calls this method for each window where the current editor tool is active.
