1: Import UGUI MiniMap obviously
2: You need to make a script that @Shawn67 write for this to work Basically The Map tries to load before the player prefab and it will fail to follow the player if you dont do this:

Make a script called:
myMinimapTarget.cs put it where ever. I recommend Assets\Scripts
using UnityEngine;
using System.Collections;
public class myMinimapTarget : MonoBehaviour {
// Use this for initialization
void Start () {
bl_MiniMapUtils.GetMiniMap().m_Target = this.gameObject;
// Update is called once per frame
void Update () {

Save it

3: Drag the My Minimap Target script onto your playable prefab.

4: Drag MiniMap3D into a active field\town\dungeon scene where you have a place you need a map

5: Expand the MiniMap3D asset in your Hierarchy window and select MiniMap. Set your Target to the Player Prefab

6: Make a New layer Called MiniMap at lvl 10 and assign in the MiniMapLayer option right under level name

7: Set Type to Real Time and Map Type to Target

8: Save and test. Your Map should work fine now.

You will be able manually adjust locations and anchors via the other dropdown on the object in your Hierarchy Window
Post edited by paulgswanson on
Sign In or Register to comment.