The Unit Manager component manages free and faction units + task components.
When you’re creating a new map using the RTS Engine menu editor, this component is attached to an object called “UnitManager”.
Free units are units that are not controlled by any faction. In the demo scene there are orcs around the map guarding treasures and attacking any unit that they meet. These orcs are free units.
- Free Units: Drag and drop all the free units (units that are not controlled by any faction) in the map into this array.
- Free Unit Selection Color: The selection texture color when a free unit is selected.
- Default Anim Controller: The default animation override controller which includes the empty animations. This will be used for units that don’t have any animation override controller assigned to them.