β›³Add visuals to units

Quick guide to add selection visuals to your units.

Video: You can also see the quick set up video here.

Add visual representation for units in selected or highlighted state. To learn more about how this works visit Selection Indicator page.

Steps to set up:

  1. Open your unit prefab and drag & drop Selection Indicator - Sprite prefab into it.

    SpriteRendererSelectionIndicator component
  2. (Optional) Replace selected and highlighted sprites with your own.

  3. Configure position, scale and even rotation on transform as needed.

  4. Set the Selection Indicator reference on the SelectableUnit component for it to manage the selection visuals.

  5. Save unit prefab.

Last updated