The Minimap Icon Manager component manages the minimap icons for units, buildings and resources.
When you’re creating a new map using the RTS Engine menu editor, this component is attached to an object called “MinimapManager”.
- Prefab: The prefab that is cloned when a new minimap icon is created. The minimap icon must have a mesh renderer with a colorable material since each icon is assigned a color to define it in the minimap. This prefab has the Minimap Icon component (which doesn’t have any exposed fields) and the Effect Obj component attached to it. Making it an effect object allows it to be pooled efficiently using the Effect Obj Pool component:
- Code: Make sure that a unique code assigned to the minimap icon.
- Height: This is the position of each minimap icon on the y-axis.