pickingMode
Determines if this element can be the target of pointer events or picked by IPanel.Pick queries.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[UxmlAttribute("picking-mode", new string[] { "pickingMode" })]public PickingMode pickingMode { get; set; }
Remarks
Elements can not be picked if:
-
They are invisible
-
Theiris set to
style.displayDisplayStyle.None
Elements with a picking mode of PickingMode.Ignore never receive the hover pseudo-state.