private void InteractionManager_SourceReleasedCallback(UnityEngine.XR.WSA.Input.InteractionSourceReleasedEventArgs eventArgs)
        {
            UnityEngine.XR.WSA.Input.InteractionSourceState state = eventArgs.state;
            AFocuser focuser = GetFocuserForSource(state.source.kind);

            OnReleasedEvent(focuser);
        }
Example #2
0
 private void InteractionManager_SourceReleased(UnityEngine.XR.WSA.Input.InteractionSourceReleasedEventArgs eventArgs)
 {
     UnityEngine.XR.WSA.Input.InteractionSourceState hand = eventArgs.state;
     // Stop displaying the guidance indicator when the user releases their finger from the pressed state.
     RemoveTrackedHand(hand);
 }