Ejemplo n.º 1
0
 /* Quand le contact avec un doigt est rompu */
 private void PlayerEndAction(EndTouch touch)
 {
     // Si c'est le doigt qui servait à voler, on arrête le vol
     if (touch.fingerId == flyingTouchId) {
         wantToFly = false;
     }
 }
Ejemplo n.º 2
0
 private void ShootStop(EndTouch touch)
 {
     if (shootingId == touch.fingerId)
         wantToShoot = false;
 }