Unity Minimap

First, you need to make a circular mask and a circular border in PhotoShop, the main color is white, the background is transparent, and the format is saved as png

After importing set it as Sprite

Create an empty object "minimap"

Create an Image "mask" and an Image border below it, then create a RawImage below the mask

Add a Mask component to the mask object and assign the mask image to the mask

Create a RenderTexture and assign it to HeadCamera and RawImage

Run the game, you can see the minimap

Finally add the border and it's perfect

Guess you like

Origin blog.csdn.net/weixin_43673589/article/details/123681215