Skip to content

Namespaces

eisclimber edited this page Feb 25, 2024 · 4 revisions

Namespaces

Namespaces are used to group code coherent code files together. They are also useful to prevent collision of class names (e.g. the Button classes UnityEngine.UI.Button and UnityEngine.UIElements.Button). To use a namespace the class can either be be referenced by it's full name UnityEngine.UI.Button or by the truncated class name when importing the namespace via using, e.g. using UnityEngine.UI allows referencing Button directly.

All components 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 the ExPresS XR Rig.
  • 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.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally