misc - eisclimber/ExPresS-XR GitHub Wiki

ExPresSXR.Misc Namespace

Summary

Miscellaneous classes used across the project.

Classes

Name Description
AlwaysExpanded Always expands the property referenced if it uses a foldout.
AutoSetupUtils Utility functions for automatic setups, mainly adding persistent listeners.
ButtonToggler Allows toggling the state of a ui button for supporting on the fly toggleMode.
CakeDemoScript A script for a UI demo of the project.
ChangeMovementMenu Allows changing the movement configuration of an ExPresS XR Rig in a world space UI.
ConditionalEventSwitcher Allows switching between two events based on a condition.
ForwardRotator Follows the provided forward vector with its forward over time. Can be used to create a menu that smoothly follows the player.
GameExiter Allows exiting the game in both the built version of the game and the Unity Editor.
GizmoUtils An utility class to draw a few more Gizmo shapes.

If you want your gizmos to use local coordinates and scale and rotate with your object, be sure to pass it's Transform as atTransform .| |InputActionDebugFunctions|Debug utility for working with input actions.| |MeshInverter|Inverts the faces of a mesh.| |ObjectSpinner|Spins an objects automatically around an axis.| |ReadonlyInInspector|Allows adding an attribute that displays the property as disabled in the inspector, without making it readonly.| |RuntimeEditorUtils|This class aims to implement common actions that aims to provide some actions exclusively available in the UnityEditor editor during runtime.| |RuntimeUtils|A helper class to use at runtime.| |SceneSwitcher|Allows switching scenes with a rig.| |TestOutputFunctions|A small script for some quick debug print functions.| |ToggledChangedEvent|Wrapper class for a bool event emitted when the toggle state changes.|

Enums

Name Description
GameTabDisplayMode Determines the modes how to display VR in the editor during play mode.

Namespaces

Name Description
ExPresSXR.Misc.Animations Classes for handling animations.
ExPresSXR.Misc.Audio Classes for audio utility.
ExPresSXR.Misc.ColorSwitching Classes for switching colors of objects.
ExPresSXR.Misc.Options Classes implementing a simple game options system.
ExPresSXR.Misc.Timing Classes for timing.
⚠️ **GitHub.com Fallback** ⚠️