PageFlow – The Ultimate UI Navigation System for Unity
Simplify your multi-page UI with smooth transitions, back/home navigation, and zero boilerplate setup.Documentation | DiscordPageFlow is a comprehensive UI page navigation system for Unity that eliminates the complexity of managing multi-screen interfaces. Think of it as a router for your UI – it handles page switching, maintains navigation history, and delivers smooth transitions with minimal setup.Stop manually toggling panels, tracking visibility states, or writing repetitive transition code. With PageFlow, you create pages, add navigation buttons, and let the system handle everything else.This hybrid approach means you're never locked in: prototype rapidly with zero boilerplate, then scale to production-grade architecture without starting over.🌟 Why Choose PageFlow?Seamless Navigation: Forward, back, and home navigation built-in with automatic history trackingFlexible Transitions: Fade, slide, scale, instant, or create custom animations- includes a wide variety of easing curvesMultiple Animation Systems: Works with DOTween, LeanTween, PrimeTween ,or Unity's built-in transitionsAutomatic Page Discovery: Pages register themselves – no manual setup neededRich Event System: Hook into navigation events for analytics, sounds, or custom logicClean Architecture: Built on SOLID principles with interface-based dependency injection for easy testing and extensibility🎮 Real-World Use CasesGames: Menu, settings screens, HUDs, shops, inventory, pause menusApps: Dashboards, reports, user profiles, multi-step formsPrototyping: Rapidly test UI flows and iterate without complex coding⚡ Quick Setup (No Code Required)Add PageManager – Create an empty GameObject and add the PageManager componentCreate Pages – Add Page component to your UI panels (they auto-register!)Add Navigation Buttons – Use PageNavigationButton or BackNavigationButton componentsSet First Page – Drag your starting page into the PageManager's "First Page" fieldDone! Press Play and enjoy smooth, professional navigationExample: In under 5 minutes, you can have a main menu that navigates to settings with fade transitions and a back button that returns to the previous screen.🎯 Built for Everyone: Beginners to AdvancedPageFlow's unique architecture makes it instantly accessible for beginners while giving advanced users complete control:Beginners: Zero code required! Add components, click buttons, and everything works automatically through our singleton PageManagerAdvanced Users: Full dependency injection support with interface-based design lets you swap implementations, write unit tests, and integrate with custom architectures seamlesslyThe Best of Both Worlds: Start with drag-and-drop simplicity, then extend with your own implementations when needed – no refactoring requiredUnity Version: 2020.3 or laterSupported Platforms: All platforms supported by Unity UI (Mobile, Desktop, Console, VR/AR, WebGL)Dependencies: Required: TextMeshPro Optional: DOTween or LeanTween (for advanced transitions)Languages: C# (SOLID, clean architecture)Package Contents: Page Manager system Page & navigation button components Transition system with built-in animations Example scenes (Full documentation & quick start guidePerformance: Lightweight, optimized for smooth navigation and low overheadParts of the content in this package were created with the assistance of AI tools, specifically GitHub Copilot and Claude.Documentation Creation: AI assisted in generating the README.md file, ensuring structured formatting and complete feature coverage.Code Documentation: AI helped produce XML documentation comments throughout the codebase to improve clarity and IntelliSense support.Example Code Generation: AI was used to assist in creating example snippets and integration patterns shown in the documentation.All AI-assisted content was reviewed, verified, and edited manually before release.Content Optimization: AI tools were used to refine and edit technical descriptions for clarity and consistency.