Exemplo n.º 1
0
 void Explode()
 {
     explosionManager.Explode(transform.position, 6, 0.4f);
     gameObject.SetActive(false);
     // TODO: GAME OVER!!!
     //MetagameManager.Instance.EndMetagame();
 }
 void OnHitByBullet()
 {
     Debug.Log("OnHitByBullet!");
     gameObject.SetActive(false);
     explosionManager.Explode(transform.position, 6, 0.2f);
 }
Exemplo n.º 3
0
 public void Explode()
 {
     explosionManager.Explode(transform.position, 6, 0.4f);
     gameObject.SetActive(false);
 }