minimap-system

Implement a runtime Unity minimap with an orthographic camera rendering to a RenderTexture.

71|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nlelouche/Unity-SkillForge --skill minimap-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimap-system
Source: https://github.com/nlelouche/Unity-SkillForge/tree/main/.agent/skills/02-gameplay/minimap-system
Command: npx skills add https://github.com/nlelouche/Unity-SkillForge --skill minimap-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a dynamic, real-time minimap for Unity games, enhancing player situational awareness and navigation.

Core Features & Use Cases

  • Runtime Minimap: Renders a minimap using a dedicated camera and RenderTexture.
  • UI Integration: Supports display in both UI Toolkit and UGUI panels.
  • Entity Icons: Displays icons for player, enemies, and objectives.
  • Fog of War: Optional implementation for revealing explored areas.
  • Zoom Functionality: Allows dynamic zooming of the minimap view.
  • Use Case: In an open-world RPG, this minimap helps players track their location, identify points of interest, and navigate complex environments efficiently.

Quick Start

Implement a runtime minimap using a second orthographic camera rendering to a RenderTexture, displayed in a UI Toolkit panel, with fog of war enabled and a zoom level of 1.5.

Frequently Asked Questions about minimap-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a runtime minimap in Unity using a RenderTexture?

A Unity minimap works by using a dedicated orthographic camera that renders the scene to a RenderTexture, which is then displayed on a UI panel. This approach supports entity icons and fog of war while maintaining zero GC allocation per frame.

Does this Unity minimap system support both UI Toolkit and UGUI?

Yes, the Unity minimap system supports displaying the RenderTexture in both UI Toolkit and UGUI panels. This allows you to integrate the real-time spatial overview into your existing UI layout without compatibility conflicts.

Can I add fog of war and entity icons to my Unity minimap?

Yes, you can add fog of war and entity icons to your Unity minimap. The system provides optional fog of war for revealing explored areas and displays icons for players, enemies, and objectives to enhance situational awareness.

What's the best way to implement minimap zoom functionality in Unity?

The best way to implement minimap zoom in Unity is by adjusting the orthographic camera's properties tied to the RenderTexture. This system supports dynamic zooming, allowing players to scale the minimap view to their preference.

Do I need Unity 6 to use a RenderTexture minimap with zero GC allocation?

Yes, you need Unity 6 or higher to use this minimap system. It is designed to support any render pipeline while focusing on zero GC allocation per frame for the RenderTexture approach, ensuring performance across RPG and RTS genres.

Why use an orthographic camera for a Unity game minimap instead of a UI overlay?

An orthographic camera for a Unity minimap accurately captures spatial relationships and top-down terrain geometry into a RenderTexture. This method avoids manual coordinate mapping required by UI overlays, directly supporting features like fog of war and dynamic zoom.