文档

Unity Engine

Unity Engine

PickingMode

Describes the picking behavior.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum PickingMode

Fields

Value

Description

IgnorePrevents picking as the result of a mouse event.
PositionPicking 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.