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
// DISCLAIMER: This was written late at night and is probably garbage. | |
// LICENSE: Do whatever you want with it. No attribution needed, but don't blame me if it doesn't work. | |
using UnityEngine; | |
using UnityEngine.XR; | |
public class VRManager : MonoBehaviour | |
{ | |
public delegate void VRManagerEventHandler(); | |
public static event VRManagerEventHandler LostFocus; |