Selectable Marker

Shows the specified marker for the currently selected GameObject. You can use multiple markers at the same time.
For the widgets with multiple Selectable components like Spinner you may want to use the marker for the root GameObject instead of for each Selectable
To do this you need to implement the ISelectableMarkerTarget interface or add the SelectableMarkerTarget component to the root GameObject of the widget.

Options

  • Marker RectTransform

    Use an empty GameObject with a nested actual marker.

  • Children Only bool

    Show markers only for the nested GameObjects.

  • RequireMarker Predicate<GameObject>

    Check if a marker should be displayed for the specified GameObject. It has more priority than the ChildrenOnly option.