/** NavCancelReaction * * Called when the Navigation event is Canceled. * */ public void NavCancelReaction(NavigationCanceledEventArgs args) { StateMachine.State state = StateMachine.Instance.state; switch (state) { case StateMachine.State.Calibration: CaliNav c = this as CaliNav; if (c != null) { c.NavCancel(args); } break; case StateMachine.State.Interaction: InterNav i = this as InterNav; if (i != null) { i.NavCancel(args); } break; case StateMachine.State.Adjusting: AdjNav a = this as AdjNav; if (a != null) { a.NavCancel(args); } break; default: Debug.Log("Unkonwn State"); break; } }
// Navigation Ended private void GestureNavigationCanceled(NavigationCanceledEventArgs args) { if (CorrectHand(args.source)) { Transmitter.SendButton(_tracker, "navigation", false); SetNavigation(0f, 0f, 0f); } }
private void OnNavigationCancel(NavigationCanceledEventArgs obj) { cancelNavigationThisFrame = true; isNavigating = false; navigationFrameDelta = new Vector3(0, 0, 0); navigationFullDelta = new Vector3(0, 0, 0); }
private void NavigationRecognizer_NavigationCanceled(NavigationCanceledEventArgs obj) { Debug.Log("Debug: navigation canceled."); //IsNavigating = false; //navCloseObj.SetActive(false); //navLeftObj.SetActive(false); //navRightObj.SetActive(false); }
private void NavigationGestureRecognizer_NavigationCanceled(NavigationCanceledEventArgs args) { var controller = GetController(args.source, false); if (controller != null) { MixedRealityToolkit.InputSystem.RaiseGestureCanceled(controller, navigationAction); } }
void Nav_Cancel(NavigationCanceledEventArgs args) { if (selected == null) { return; } selected.NavCancelReaction(args); selected = null; }
private void NavigationGestureRecognizer_NavigationCanceled(NavigationCanceledEventArgs args) { var controller = GetOrAddController(args.source, false); if (controller != null) { Service?.RaiseGestureCanceled(controller, navigationAction); } }
private void NavigationCanceled(NavigationCanceledEventArgs args) { IWidget focused = GameObject.Find("Managers").GetComponent <GameObjectManager>().getFocus(); if (focused != null) { GameObject.Find("Managers").GetComponent <GameObjectManager>().getFocus().OnNavigationCanceled(args); } }
public void OnNavigationCanceled(NavigationCanceledEventArgs args) { bool handled = false; if (GazeSelectionManager.Instance && GazeSelectionManager.Instance.SelectedTarget) { handled = GazeSelectionManager.Instance.SelectedTarget.OnNavigationCanceled(args.source.kind); } if (!handled && InputCanceled != null) { InputCanceled(args.source.kind); } }
protected void NavigationGestureRecognizer_NavigationCanceled(NavigationCanceledEventArgs args) { InputManager.Instance.RaiseNavigationCanceled(this, args.source.id); }
void AdjNav.NavCancel(NavigationCanceledEventArgs args) { }
private void NavigationRecognizer_NavigationCanceled(NavigationCanceledEventArgs obj) { // 2.b: Set IsNavigating to be false. IsNavigating = false; }
private void GestureHandler_OnNavigationCanceled(NavigationCanceledEventArgs eventArgs) { OnNavigationCompletedOrCanceled(); }
private void NavigationRecognizer_NavigationCanceled(NavigationCanceledEventArgs obj) { //Debug.Log ("NavigationRecognizer_NavigationCanceled"); IsNavigating = false; }
protected void OnNavigationCanceledEvent(NavigationCanceledEventArgs obj) { inputManager.RaiseNavigationCanceled(this, (uint)obj.source.id, Vector3.zero); }
public virtual void OnNavigationCanceled(NavigationCanceledEventArgs args) { }
private void NavigationRecognizer_NavigationCanceled(NavigationCanceledEventArgs obj) { IsNavigating = false; }
// Navigation Ended private void GestureNavigationCanceled(NavigationCanceledEventArgs args) { SendAxesGesture("navigation", Vector3.zero); }
protected void OnNavigationCanceledEvent(NavigationCanceledEventArgs obj) { inputManager.RaiseNavigationCanceled(this, (uint)obj.source.id, obj.normalizedOffset); }
void GestureRecognizer_NavigationCanceled(NavigationCanceledEventArgs obj) { inputAction = MultiARInterop.InputAction.Release; inputTimestamp = lastFrameTimestamp; //Debug.Log("GestureRecognizer_NavigationCanceled"); }
void InterNav.NavCancel(NavigationCanceledEventArgs args) { }
void CaliNav.NavCancel(NavigationCanceledEventArgs args) { }