PickingMode
Describes the picking behavior.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum PickingMode
Fields
Value | Description |
|---|---|
| Ignore | Prevents picking as the result of a mouse event. |
| Position | Picking enabled. Default Value. Performs picking based on the position rectangle. In the VisualElement tree hierarchy, the picking process works using a similar logic as the rendering but in reverse order: it starts with the front-most elements and proceeds step by step towards background elements. Thus, the child elements are picked before parents, and the sibling elements further down the list are picked before their predecessors. |