Ejemplo n.º 1
0
 public void SetPosition()
 {
     GetComponent <AudioSource>().Play();
     if (map.DetonateTile((int)transform.position.x, (int)transform.position.z))
     {
         --health;
         if (health <= 0)
         {
             gms.KillPlayer();
         }
     }
 }