pickingMode
Determines if this element can be the target of pointer events or picked by IPanel.Pick queries.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public PickingMode pickingMode { get; set; }
Remarks
Elements can not be picked if:
- They are invisible
- Their is set to
style.displayDisplayStyle.None
Elements with a picking mode of PickingMode.Ignore never receive the hover pseudo-state.
Additional Resources: VisualElement.visible, IStyle.display