PageHandler.cs

Handles navigation logic for individual UI pages.

Fields & Properties

Button nextButton

Button to navigate to the next page.

Button backButton

Button to navigate to the previous page.

Methods

void SetPageIndex(int pageIndex)

Sets the index of the current page.

  • int pageIndex: The index to assign.

void OnNextClicked()

Navigates to the next page.

void OnBackClicked()

Navigates to the previous page.

Last updated

Was this helpful?