For AI agents: the complete documentation index is available at /AchEngine/en/llms.txt, the full documentation bundle is available at /AchEngine/en/llms-full.txt, and this page is available as Markdown at /AchEngine/en/usage/ui/index.md.

UI System — Overview

AchEngine UI provides layer-based view management, pooling, transitions, bindings, and editor tooling.

Core components

ComponentRole
UIRootOwns UI layers and the view catalog
UIViewBase class for screens and popups
UIViewCatalogMaps view IDs to prefabs and settings
UIBootstrapperOpens configured views at scene start
UIOpenButton / UICloseButtonInspector-driven navigation
UISafeAreaFitterAvoids notch and punch-hole areas

Layer structure

Open and close a view

var ui = ServiceLocator.Resolve<IUIService>();
ui.Show<MainMenuView>();
ui.Show("SettingsPopup");
ui.Close<MainMenuView>();
ui.CloseAll();

Next steps