Ejemplo n.º 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);
    }
Ejemplo n.º 2
0
 private void InteractionManager_SourceLost(UnityEngine.XR.WSA.Input.InteractionSourceLostEventArgs args)
 {
     handIsShown = false;
 }
Ejemplo n.º 3
0
 private void Source_Lost(UnityEngine.XR.WSA.Input.InteractionSourceLostEventArgs hand)
 {
     HandDetected = false;
 }