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