menu-navigation-flow

Implement stack-based UI navigation with push, pop, and modal operations in Unity UI Toolkit.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manages complex UI navigation in Unity, ensuring smooth transitions between screens and maintaining a history for back-button functionality.

Core Features & Use Cases

  • Stack-Based Navigation: Manages screens using a push/pop stack.
  • Animated Transitions: Supports various visual transitions (fade, slide, scale).
  • Screen Lifecycle Management: Handles screen initialization, showing, hiding, and focus.
  • Use Case: Building a game menu with multiple sub-menus (e.g., Main Menu -> Options -> Audio Settings) and ensuring the user can easily go back to the previous screen.

Quick Start

Use the menu-navigation-flow skill to push the 'Settings' screen onto the navigation stack.

Frequently Asked Questions about menu-navigation-flow

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

FAQPage Schema
How do I manage UI navigation history in Unity?

UI navigation history in Unity is managed using a stack-based system that tracks screen transitions. This approach maintains a history of visited screens, enabling back-button functionality and smooth multi-screen menu navigation.

What is the best way to handle multi-screen menu transitions in Unity UI Toolkit?

Multi-screen menu transitions in Unity UI Toolkit are best handled with a stack-based navigation flow. This manages push, pop, replace, and modal operations, ensuring clean lifecycle management and optional animated visual transitions.

How do I implement a back button for a Unity game menu?

A back button for a Unity game menu is implemented by utilizing a navigation stack that records screen history. When the user navigates back, the system pops the current screen from the stack to reveal the previous menu.

Does this Unity navigation system support modal screens and animated transitions?

This Unity navigation system supports modal screens alongside standard push and pop operations. It also handles animated transitions including fade, slide, and scale effects to ensure smooth visual changes between menu screens.

How are screen lifecycle events managed during Unity UI navigation?

Screen lifecycle events during Unity UI navigation are managed by the navigation stack handling initialization, showing, hiding, and focus states. This ensures each screen receives proper lifecycle callbacks during transitions.

Can I replace a screen on the navigation stack instead of pushing a new one?

You can replace a screen on the navigation stack instead of pushing a new one. The system supports replace operations to swap the current screen while maintaining the existing history stack for back navigation.