MiniMap QuickStart
Last updated
Last updated
To implement the GC Minimap, follow a few simple instructions as shown below.
From the PivecLabs/UIComponents/Prefabs folder, drag the prefab named Canvas - Minimap to your scene Hierarchy.
The Prefab in your scene should look as follows the image below.
3. You can configure the features such as using a Scroll wheel for the Zoom, and which button to use for dragging the Full map in the Map Manager Inspector Panel.
3. Next, Add a Trigger for OnStart and add the Action Display MiniMap.
4. You can change the graphics later (see tutorials section below), but for now lets just enable the Minimap Actions. In the Display MiniMap Action, drag the Map Manager from the Prefab in your scene to the Map manager slot, drag the Panel - Minimap (not the Canvas) into the corresponding slot, and the RawImage - texturemap also into the Action.
5. Choose the desired position from the dropdown selection, the Field of View for the Camera, and press play. All should now work as desired. The Action will create the render texture and the camera, adding it to the player at runtime. You can also click Rotate Frame if you want the Map Frame to rotate with the Minimap Camera.
You can change the graphics, the size and border, and the rotation function by updating the prefab. This is covered in the Tutorial below.