Implementing advanced features for minimaps

In comparison to the simple minimap that we created in the last recipe, a more complex minimap features more detailed attributes, such as the shape of a minimap. In this recipe, we will make the minimap circular using masks. Also, you will learn how to add layers to hide various objects so that they don't feature inside of the minimap. This may be particularly useful if you want to hide specific objects and characters and even some locations throughout your game. Finally, we will look at how to add icons to the minimap, also through the use of layers.

Furthermore, in the There's more… section of this recipe, you can find other advanced features to implement in your minimap.

How to do it...

  1. Since this recipe ...

Get Unity UI Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.