Пример #1
0
    private void InteractionManager_InteractionSourceLost(InteractionSourceLostEventArgs obj)
    {
        Debug.LogFormat("{0} {1} Lost", obj.state.source.handedness, obj.state.source.kind);

        controllers.Remove(obj.state.source.id);
    }
Пример #2
0
 private void InteractionManager_InteractionSourceLost(InteractionSourceLostEventArgs obj)
 {
     throw new NotImplementedException();
 }
Пример #3
0
 void InteractionManager_SourceLost(InteractionSourceLostEventArgs state)
 {
     TBLogging.LogWarning("Motion controller disconnected");
     RefreshSource(state.state);
 }
Пример #4
0
 private void InteractionManager_SourceLost(InteractionSourceLostEventArgs hand)
 {
     if (!isTutorialActive)
         tutorialFingerTapIcon.SetActive(true);
 }
 private void InteractionManager_SourceLost(InteractionSourceLostEventArgs args)
 {
     // Stop displaying the guidance indicator when the user's hand leaves the view.
     RemoveTrackedHand(args.state);
 }
    private void InteractionManager_InteractionSourceLost(InteractionSourceLostEventArgs eventArgs)
    {
        uint id = eventArgs.state.source.id;

        this.RemoveDevice(id);
    }
Пример #7
0
    private void InteractionManager_InteractionSourceLost(InteractionSourceLostEventArgs obj)
    {
        HandDetected = false;

        ResetFocusedGameObject();
    }
 /// <summary>
 /// SDK Interaction Source Lost Event handler
 /// </summary>
 /// <param name="args">SDK source updated event arguments</param>
 private void InteractionManager_InteractionSourceLost(InteractionSourceLostEventArgs args)
 {
     RemoveController(args.state.source);
 }
Пример #9
0
 private void InteractionSourceLost(InteractionSourceLostEventArgs obj)
 {
     _controllers.Remove(obj.state.source.id);
 }
Пример #10
0
 void SourceLost(InteractionSourceLostEventArgs state)
 {
     HandModel.SetActive(false);
 }
Пример #11
0
 private void InteractionManager_InteractionSourceLost(InteractionSourceLostEventArgs args)
 {
     OnSourceLost(args.state.source.id);
 }
 void InteractionManager_SourceLost(InteractionSourceLostEventArgs args)
 {
     Debug.Log("Source lost");
 }
 private void SourceLost(InteractionSourceLostEventArgs obj)
 {
     pressed = false;
 }
Пример #14
0
 private void InteractionManager_SourceLost(InteractionSourceLostEventArgs state)
 {
     isManipulating = false;
     MasterController.Instance.IsManipulating = false;
 }
 void SourceLost(InteractionSourceLostEventArgs obj)
 {
     Debug.Log("3 ::: " + obj.state);
     // Lost
 }