private void Page_PointerExited(object sender, PointerRoutedEventArgs e) { if (e.Pointer.PointerDeviceType == Windows.Devices.Input.PointerDeviceType.Touch || e.Pointer.PointerDeviceType == Windows.Devices.Input.PointerDeviceType.Pen) { tap = !tap; if (tap) { PointerOut.Begin(); } } else { PointerOut.Begin(); } }
protected void OnPointerOut(PointerOut e) { if (Services.applicationController.isGamePaused) { return; } if (!isTracking || !isActive) { return; } if (e.collidedObj != gameObject) { return; } _OnKnotPointerOut(); }
public virtual void OnPointerOut(PointerEventArgs e) { PointerOut?.Invoke(this, e); }
private void LocatePanel_PointerExited(object sender, Windows.UI.Xaml.Input.PointerRoutedEventArgs e) { PointerOut.Begin(); }