void OnEnable() { m_Instance = this; VR_ControllerManager = FindObjectOfType<SteamVR_ControllerManager>(); VR_PlayArea = FindObjectOfType<SteamVR_PlayArea>(); if (VR_ControllerManager == null) Debug.LogWarning("Could not find Steam VR. Add [CameraRig] from the Steam VR toolkit for VR functionality"); }
void OnEnable() { m_Instance = this; }