Unit Selection
  • Welcome
    • πŸ‘‹Hello
    • πŸ—ΊοΈRoadmap
    • ⛑️Support & Community
    • πŸŽ“Changelog
  • Getting started
    • πŸ”ŒImport package
    • πŸ› οΈAdd selection to scene
    • 🦲Add selection to units
    • β›³Add visuals to units
  • How it works
    • 🎯Active Selections
    • 🫡Unit Selector
    • πŸ”’Quick Access Selector
    • ⬛Selection Area
      • πŸ”²2D Rectangle
      • 🧊3D Cube
    • πŸ’ Selectable Unit
      • πŸ“Selection Bounds
      • β­•Selection Indicator
    • Selectable Group Unit
    • ⌨️Input Controls
    • πŸ‘·β€β™€οΈUnit Management
Powered by GitBook
On this page
  1. Getting started

Add visuals to units

Quick guide to add selection visuals to your units.

PreviousAdd selection to unitsNextActive Selections

Last updated 11 months ago

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

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.

  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.

β›³
here
SpriteRendererSelectionIndicator component