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