# EditorToolOwnerAttribute(Type)

> Registers an EditorWindow as a tool owner with the specified default EditorToolContext.

## Definition

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

```csharp
public EditorToolOwnerAttribute(Type defaultContextType)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The default [EditorToolContext](/engine/6000.7/script-reference/unityeditor/editortools/editortoolcontext.md) type for this tool owner.
