Skip to content
Wacker edited this page May 28, 2024 · 2 revisions

VERA Locomotion Accessibility Toolkit

UI Implementation

NewUiNavigation.cs

Purpose

This file is the starting point for the UI and contains 4 regions: Buttons: maps user input to the on-screen buttons External Menu: handles any researcher-created menu; Settings, which handles the navigation of the settings menu as well as the settings affecting the menu Other: which handles which interactable objects will appear in the menu and when interactables go out of range

Prefab Details

NewUiNavigation.cs is attached to The VERA_MenuNEW Gameobeject within the VERA_Player prefab at VERA_Player> XR> XR Origin (XR Rig)> CameraOffsetHead> CameraOffset> Camera> VERA_Menu_FINAL> UI Canvas Experiment> VERA_MenuNEW

Parameters

Name Type Description
Look Tabber Manager ButtonTabberManager The look menu so that it can be navigated to
Move Tabber Manager ButtonTabberManager The movement menu so it can be navigated to
Interact Tabber Manager ButtonTabberManager The interactions menu so it can be navigated to
Interact Sub Tabber Manager ButtonTabberManager The interaction submenu so it can be changed with in-range interactables and be navigated to
Settings Navigator VERA_MenuNavigator The menu navigator of the settings menu because it operates differently than the rest of the main menu because of the various types of input needed
Settings Canvas Group CanvasGroup The content of the settings menu so it can be manipulated correctly
Toggle Highlight Prefab HighlightableTab Used in external menus to highlight toggles
Slider Highlight Prefab HighlightableTab Used in external menus to highlight sliders
Button Highlight Prefab HighlightableTab Used in external menus to highlight buttons

Variables

Name Type Description

Functions

Name Parameters Description

Movement Framework


Interaction Framework


Default Interactions


Selection and Highlighting


Settings

Clone this wiki locally