public override void OnTouchCancelled(TouchEventArgs e, TouchCancelReason cancelReason) { base.OnTouchCancelled(e, cancelReason); foreach (var button in Buttons) { button.IsPressed = false; } }
public override void OnTouchCancelled(TouchEventArgs e, TouchCancelReason cancelReason) { base.OnTouchCancelled(e, cancelReason); IsGameSpeedButtonPressed = false; Render(); }
public override void OnTouchCancelled(TouchEventArgs e, TouchCancelReason cancelReason) { base.OnTouchCancelled(e, cancelReason); Menu?.TouchCancel(ScreenToWorldspace(e.Touch.LocationOnScreen) - new CCPoint(ClientRectangle.MinX, ClientRectangle.MaxY), cancelReason); }
public virtual void OnTouchCancelled(TouchEventArgs e, TouchCancelReason cancelReason) { }