Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 985 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 985 Bytes

Unity Simple Mini Map

Unity MiniMap feature without RenderTexure and Camera

Does not require additional cameras or RenderTexture. In this way, you do not need to use different layers and layermasks, overhead cameras, or RenderTexture assets.

Video 1
Alt text

How to Import:

  • Add to manifest.json
"com.arikan.minimap" : "https://github.com/bilal-arikan/UnitySimpleMiniMap.git",

How to Use:

var minimap = FindObjectOfType<Arikan.MiniMapView>();

// Red object example
var img = minimap.FollowCentered(obj1Centered.transform);
img.color = obj1Centered.material.color;

// Green object example
var img2 = minimap.Follow(obj2.transform);
img2.color = obj2.material.color;

// Blue object example
var img3 = minimap.Follow(obj3.transform, obj3Sprite);
img3.color = obj3.material.color;

Import Demo Unity Package

Alt text