namespace VRTK.Prefabs.CameraRig.CameraRigSwitcher
{
using UnityEngine;
using UnityEngine.XR;
///
/// Provides configuration for the XRSettings.
///
public class XRSettingsConfigurator : MonoBehaviour
{
///
/// Enables XR in the Unity Software.
///
public virtual void EnableXR()
{
XRSettings.enabled = true;
}
///
/// Disables XR in the Unity Software.
///
public virtual void DisableXR()
{
XRSettings.enabled = false;
}
}
}