contextType
Describes in which context a VisualElement hierarchy is being run.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
ContextType contextType { get; }
Remarks
The context type of a Panel affects how it resolves certain styles and receives specific events. For example, drag-and-drop and command events are only sent to Editor-type Panels.
Additional Resources: CommandEventBase<T>