runtimeeditorutils - eisclimber/ExPresS-XR GitHub Wiki

RuntimeEditorUtils

Class in ExPresSXR.Misc

Inherits from System.Object

Summary

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

public static class RuntimeEditorUtils

Fields

Name Description
EXPRESS_XR_PREFAB_FORMAT Format for specifying a prefab inside the ExPresS XR prefabs directory.
EXPRESS_XR_PREFABS_PATH Base path to the ExPresS XR prefabs directory.

Methods

Name Description
ChangeGameTabDisplayMode(GameTabDisplayMode) Changes how the editor displays the VR view in the Game-Tab.
MakeExPresSXRPrefabPath(string) 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.
⚠️ **GitHub.com Fallback** ⚠️