Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EditorToolOwnerAttribute

Registers an EditorWindow as a tool owner and specifies its default EditorToolContext.
Read time 3 minutesLast updated 6 days ago

Definition

[AttributeUsage(AttributeTargets.Class, Inherited = false)]public class EditorToolOwnerAttribute : Attribute

Remarks

Tool owner windows can host EditorTools, EditorToolContexts, and tool-related overlays.

Constructors

Constructor

Description

EditorToolOwnerAttribute(System.Type)Registers an EditorWindow as a tool owner with the specified default EditorToolContext.

Properties

Property

Description

defaultContextThe default EditorToolContext type for this tool owner.

Inheritance

Inherited Members