//-------------------------------------------------
        void OnEnable()
        {
            _instance = this;

            if (SteamVR.instance != null)
            {
                ActivateRig(rigSteamVR);
            }
            else
            {
#if !HIDE_DEBUG_UI
                ActivateRig(rig2DFallback);
#endif
            }
        }
Exemple #2
0
 //-------------------------------------------------
 void Start()
 {
     player = VRTRIXGlovePlayer.instance;
 }