private void ShootInCone() { for (int i = 0; i < nbOfShotgunBullets; ++i) { GameObject bullet = Instantiate(bulletPrefab, transform.position, transform.rotation); BulletController.ConfigureConeShoot(bullet, bulletDamage); } }