This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
#if UNITY_EDITOR | |
using Valve.VR; | |
using UnityEditor; | |
#endif | |
// This script stops new VR poses from being applied when Unity editor is paused. | |
// It fixes frame debugger. Add it to camera and controllers, and any other tracked objects. |