Skip to content

Runtime Editor Utils

eisclimber edited this page Feb 11, 2024 · 1 revision

Runtime Editor Utils

static class in ExPresSXR.Misc

Description

This class aims to implement common actions that aims to provide some actions exclusively available in the UnityEditor editor during runtime.

Members

Static Methods

  • void ChangeGameTabDisplayMode(GameTabDisplayMode gameTabDisplayMode): Changes how the editor displays the VR view in the Game-Tab.
  • string MakeExPresSXRPrefabPath(string name): Creates an path that MAY be a path to an ExPresSXR Prefab by using the EXPRESS_XR_PREFAB_FORMAT. The parameter name correlates to the relative location inside ExPresS XR's prefabs directory and usually matches with the structure in the GameObject-Creation-Menu.

Constants

  • string EXPRESS_XR_PREFABS_PATH = "Assets/ExPresS XR/Prefabs/": String used as prefix to the prefabs directory of ExPresS XR.
  • string EXPRESS_XR_PREFAB_FORMAT = EXPRESS_XR_PREFABS_PATH + "{0}.prefab": Format string to insert only the subpath to an ExPresS XR Prefab.

Enums

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally