Selectable Marker

Shows the specified marker for the currently selected game object. 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 object instead of for each Selectable
To do this you need to implement the ISelectableMarkerTarget interface or add the SelectableMarkerTarget component to the root object of the widget.

Options

  • Marker RectTransform

    Use an empty object with a nested actual marker.

  • Children Only bool

    Show markers only for the nested game objects.

  • RequireMarker Predicate<GameObject>

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