-
-
Notifications
You must be signed in to change notification settings - Fork 2
Namespaces
eisclimber edited this page Apr 20, 2024
·
4 revisions
Namespaces are used to group coherent code files together.
They are also useful to prevent collisions of class names (e.g., the Button
classes UnityEngine.UI.Button
and UnityEngine.UIElements.Button
).
To use a namespace, the class can either be referenced by its full name, UnityEngine.UI.Button
or by the truncated class name when importing the namespace via using
, i.e., using UnityEngine.UI
allows referencing Button
directly.
All components are grouped in the ExPresS
-namespace, which is itself further divided into the following namespaces:
-
Editor
: (Editor-Exclusive) Classes that are only available when the game is run in the Unity-Editor. -
Editor.Editor
: (Editor-Exclusive) Custom inspectors for ExPresS XR Components. -
Editor.SetupDialogs
: (Editor-Exclusive) Classes related to the SetupDialogs. -
Editor.Utility
: (Editor-Exclusive) General edior-only utilty classes. -
Experimentation
: Classes for experimentation. -
Experimentation.DataGathering
: Classes for gathering data. -
Experimentation.EyeTracking
: Classes for eye tracking support. -
Interaction
: Classes for interacting with the world in XR, such as Buttons, Sockets and GrabInteractables. -
Interaction.ButtonQuiz
: Classes for the button quiz. -
Minigames
: Classes related to ExPresS XR's minigames. -
Minigames.CoinScale
: Classes for the CoinScale-Minigame. -
Minigames.CoinThrow
: Classes for the CoinThrow-Minigame. -
Minigames.SwordCleaning
: Classes for the SwordCleaning-Minigame. -
Misc
: Miscellaneous classes. -
Misc.Timing
: Classes for Timing. -
Movement
: Classes for special movement solutions/setups. -
Presentation
: Classes for presenting objects and information. -
Rig
: Classes used for theExPresS XR Rig
. -
Rig.HeadGazeInputDevice
: Defines the integration of a InputDevice used for HeadGaze interactions. -
Rig.InverseKinematics
: Classes with a rudimentary Inverse Kinematic implementation. -
UI
: Classes for UI and Hud. -
UI.Menu
: Classes for a basic menu logic.
You can find the namespace of a class in at the top of each component's description in the docs.
Autor: Luca 'eisclimber' Dreiling; License: MIT
- Getting Started
- Development and Contribution
- Misc
- Experimentation
- Data Gatherering
- Eye Tracking
- ExPresS XR Rig
- Interaction
- Base Button
- Button Quiz
- Collision Hand Rumbler
- Collision Sound Emitter
- Exit Game Interactable (Script Deprecated)
- Interactables
- Haptic Impulse Trigger
- Socket Interactors
- Inverse Kinematics
- Localization
- Minigames
- Coin Scale
- Coin Throw
- Sword Cleaning
- Misc
- Movement
- Presentation
- UI