public void Shoot(float speed) { _poolBullets.Get().Shoot(_enemy.PivotBulletPosition, _enemy.PivotBulletDirection, speed); _isShooting = true; }
private void Shoot() => _bullets.Get().Shoot(_ship.PivotBulletPosition, _ship.PivotBulletDirection, _ship.SpeedBullet);
private void Shoot() => _poolBullets.Get().Shoot(_motherEnemy.PivotBulletPosition, _motherEnemy.PivotBulletDirection, _motherEnemy.SpeedBulletMove);