Пример #1
0
 public override void OnTouchCancelled(TouchEventArgs e, TouchCancelReason cancelReason)
 {
     base.OnTouchCancelled(e, cancelReason);
     foreach (var button in Buttons)
     {
         button.IsPressed = false;
     }
 }
Пример #2
0
 public override void OnTouchCancelled(TouchEventArgs e, TouchCancelReason cancelReason)
 {
     base.OnTouchCancelled(e, cancelReason);
     IsGameSpeedButtonPressed = false;
     Render();
 }
Пример #3
0
 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);
 }
Пример #4
0
 public virtual void OnTouchCancelled(TouchEventArgs e, TouchCancelReason cancelReason)
 {
 }