기술 자료

Unity Engine

Unity Engine

contextType

Describes in which context a VisualElement hierarchy is being run.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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>