Use Map Object Information
Last updated
Last updated
Once you have a list of icons, go to an object that you want to be shown on the map (an enemy, a door, etc…) and add the component Map Object Information.
In this component, you can configure a name, a description, the type of icon, the floor where this icon is shown, an offset for the icon, and the map part where the icon belongs, for example, a save station inside a room.
The Map Icon Type field will show the same list of icons configured in the Map System previously.
The Floor number field works in the same way, it will show the list of floors configured in the Map System, used to configure in which floor the map icon is shown.
Another field, called Visible in all floors can be selected to show that map icon at every moment in the map window, no matter the current floor where the player is.
For example, a Save Station with the next configuration will show this info in the map window:
Once you have configured all the Map Object Information components in the scene, go to Map System inspector, and press the button Set Map Object Information ID.
This is used in the Map System to manage the map icons properly.