Пример #1
0
    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);
    }
Пример #2
0
 private void InteractionManager_SourceLost(UnityEngine.XR.WSA.Input.InteractionSourceLostEventArgs args)
 {
     handIsShown = false;
 }
Пример #3
0
 private void Source_Lost(UnityEngine.XR.WSA.Input.InteractionSourceLostEventArgs hand)
 {
     HandDetected = false;
 }