private void OnTriggerEnter(Collider other) { if (other.GetComponent <Monster>()) { tower.ReleaseProjectile(this); } }