With most minimaps, the center of the minimap is the location of the player's character, so we don't need to show the player's character in the minimap. Let's create a Layer named Player and place character-MsLazer onto that Layer. We can then improve efficiency and reduce visual clutter by creating a Culling Mask that ignores the Player Layer. We can display a simple 2D Sprite in the center of our minimap, pointing upwards, to indicate that our player is always facing upwards relative to what is displayed in the minimap:
- Create a new User Layer named Player.
- Select the character-MsLaser GameObject (the player's character) in the Hierarchy, and set the Layer ...