I’ve trying to create a mini map, and right now I’ve got a game object, which contains lots of sprites each representing a tile. The parent GO though is on the scene, and moves when the camera moves, how can I add that parent GO to the canvas so it stays fixed?
Edit
Here’s a screen shot of the hierarchy.
You can make a new camera just for your minimap:
- Make a new layer “Minimap”
- Set your game object’s layer (and its children) to “Minimap”
- Create a new camera
- Set the camera’s culling mask to “Minimap” (It will now only render “Minimap” layer)
- Parent your game object to the camera so it is fixed on the screen
- Position your game object properly with respect to your new camera