public void ExplodeTarget(Collider target) { OnDieAction(); Instantiate(gameSettings.Explosion, target.transform.position, target.transform.rotation); ObjectPoolScript.Despawn(target.gameObject); }