Example #1
0
 public void Explode()
 {
     Instantiate(explosion, transform.position, transform.rotation, transform.parent);
     explosion.AddDamage(damage);
     Destroy(gameObject);
 }