contextType
Describes in which context a VisualElement hierarchy is being run.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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: DragAndDropEventBase<T>, CommandEventBase<T>