private void InteractionManager_SourceLost(UnityEngine.XR.WSA.Input.InteractionSourceLostEventArgs args) { // Check to see that the source is a hand. if (args.state.source.kind != UnityEngine.XR.WSA.Input.InteractionSourceKind.Hand) { return; } // TrackingObject.SetActive(false); }
private void InteractionManager_SourceLost(UnityEngine.XR.WSA.Input.InteractionSourceLostEventArgs args) { handIsShown = false; }
private void Source_Lost(UnityEngine.XR.WSA.Input.InteractionSourceLostEventArgs hand) { HandDetected = false; }