void OnTriggerEnter(Collider other) { if (other.gameObject.GetType() != typeof(Explosion)) { cannon.CreateExplosion(element, transform.position, this); Reload(); } }