Protected
cursorProtected
localProtected
modeProtected
navigationProtected
sceneProtected
settingsProtected
titleProcesses input from a specified button. This method handles navigation through a UI menu, including movement through menu items and handling special actions like cancellation. Each button press may adjust the cursor position or the menu scroll, and plays a sound effect if the action was successful.
The button pressed by the user.
true
if the action associated with the button was successfully processed, false
otherwise.
Set the option cursor to the specified position.
The index of the setting.
The cursor position to set.
Optional
save: booleanWhether to save the setting to local storage.
true
if the option cursor was set successfully.
Abstract class for handling UI elements related to settings.