NeoxiderPages is a sample module for screen/page navigation on top of Unity UI.
It requires DOTween Pro (and DOTween) to work correctly.
After importing the sample, the module lives under:
Assets/Neoxider/Samples~/NeoxiderPages/
PMmanages page switching and previous/current page state. AllUIPageinstances must be children (descendants) of the GameObject that hasPM— page discovery walks only that subtree (including inactive objects).UIPagemarks a GameObject as a page.BtnChangePageconnects UI buttons to page actions.UIKitexposes a simple static API for page changes.
ChangePage(pageId)chooses the strategy from the targetUIPage: exclusive pages go throughSetPage, popup pages go throughActivePage.- During exclusive switches, if the incoming page has a Forward animation,
PMwaits forWaitForShowAnimation()before hiding outgoing pages. This prevents a visible empty backdrop between pages. - Outgoing pages are closed with
UIPage.EndActive(), so Back animation plays when the page hasBackwardOnlyorForwardAndBackward. - Active popup pages are closed by default when an exclusive non-popup page opens. This is controlled by
PM.closePopupsOnExclusivePageChangeand defaults totrue. - Pages with
Ignore On Exclusive Changeare never closed by exclusive switches.
- Russian docs:
../../Docs/NeoxiderPages/README.md - UIPage
- UI module:
../UI/README.md