文档

Unity Engine

Unity Engine

contextType

Describes in which context a VisualElement hierarchy is being run.
阅读时间1 分钟最后更新于 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.