public override void DestroyWithoutTap()
 {
     if (isTap)
     {
         Broadcast.ChangeHealthPoints(-5);
     }
     base.DestroyWithoutTap();
 }
Esempio n. 2
0
 public override void DestroyOnTap()
 {
     if (isTap)
     {
         Broadcast.ChangeHealthPoints(10);
         base.DestroyOnTap();
         isTap = false;
     }
 }