Unity uGUI focus & navigation

Smart UI Focus
& Navigation

Reliable Focus. Smarter Navigation.

Keep your existing Unity uGUI menus and add reliable controller, keyboard, mouse, and touch focus behavior.

Unity 2022.3 LTS + Unity 6 uGUI Unity Input System Keyboard · Gamepad · Mouse · Touch
Smart UI Focus & Navigation Focus Management sample Main Menu
Focus Management sample
Focused components, familiar workflow

Keep your UI framework. Strengthen its focus lifecycle.

Smart UI Focus & Navigation works with standard uGUI Selectables, Unity's EventSystem, and the Input System. It adds focused reliability and navigation components without replacing the UI framework.

01

Default focus and recovery

Choose the initial control and recover automatically when the current selection becomes invalid, disabled, inactive, or non-interactable.

02

Remembered selection

Restore the last valid selection independently for each menu or focus scope.

03

Exact modal restoration

Return focus to the exact valid control that opened a modal or popup.

04

Smart directional navigation

Generate deterministic links for freeform, vertical, horizontal, complete-grid, and ragged-grid layouts.

05

Per-direction overrides

Keep the generated target with Auto, block a direction with None, or choose a specific Selectable with Explicit.

06

Dynamic UI rebuilds

Refresh links after controls are added, removed, reordered, enabled, disabled, or moved by layout changes.

07

Input mode detection

Expose current Mouse, Keyboard, or Gamepad mode and receive a callback when the active mode changes.

08

Standard Unity integration

Keep uGUI transitions, Input Actions, EventSystem navigation, and existing UI structure.

Product overview

See Smart UI Focus & Navigation in action.

Watch the complete workflow, from reliable focus handling to directional navigation and dynamic UI updates.

Smart UI Focus & Navigation product overview
Focus recovery

Recover a usable selection automatically.

Each focus scope can define a default and remember its last valid control. If the current EventSystem selection becomes invalid, disabled, inactive, or non-interactable, focus can recover to a usable target.

Selection returns when keyboard-driven interaction resumes.
Smart directional navigation

Make irregular layouts predictable.

Generate deterministic links from screen-space bounds for freeform layouts. Structured constraints add vertical lists, horizontal lists, and topology-aware grids, including incomplete final rows.

Bounds-aware navigation across an intentionally staggered layout.
Dynamic UI

Rebuild after content and layout changes.

Runtime-added, removed, reordered, disabled, and reflowed controls can refresh their explicit links after Unity's layout system updates.

Runtime list and grid changes rebuild against current visual positions.
Input System integration

Keyboard · Gamepad · Mouse · Touch

Use an active EventSystem with InputSystemUIInputModule. Input mode detection exposes Mouse, Keyboard, and Gamepad activity, while standard pointer actions support mouse and touch workflows.

InputSystemUIInputModule configured with Point, Click, Navigate, Submit, and Cancel actions
Standard InputSystemUIInputModule action references.
Input Mode Detector Inspector in Auto mode showing actions resolved from the EventSystem
Auto mode follows the UI actions assigned to the EventSystem.
Compatibility and platforms

Designed for established Unity UI workflows.

Compatible with Unity 2022.3 LTS and Unity 6. Validated with Built-in, URP, and HDRP.

Unity and rendering

Compatible with Unity 2022.3 LTS and Unity 6.

Validated with:

  • Built-in Render Pipeline
  • Universal Render Pipeline (URP)
  • High Definition Render Pipeline (HDRP)

Requires

  • Unity UI / uGUI
  • Unity Input System
  • Active EventSystem using InputSystemUIInputModule

UI Toolkit is not currently supported.

Supported Platforms

Windows · macOS · Linux · iOS · Android · WebGL

Input

Keyboard · Gamepad / controller · Mouse · Touch

Validated Builds

  • Windows x64 Player build
  • Android IL2CPP ARM64 build
  • Android real-device runtime
  • Android touch input on a physical device

Validated on Windows x64 and Android IL2CPP ARM64, including real-device Android touch input.

Documentation and support.

Read the complete installation, workflow, API, and troubleshooting guides online, or contact LevelArgento directly at support@levelargento.com.