public EnemyShootController(Enemy enemy, BulletPool bulletPool, Settings settings) { _enemy = enemy; _bulletPool = bulletPool; _settings = settings; _isAllowFire = true; _shootInterval = UnityEngine.Random.Range(_settings.MinShootInterval, _settings.MaxShootInterval); }
public PlayerShootHandler( BulletPool bulletPool, Settings settings, Player player) { _player = player; _settings = settings; _bulletPool = bulletPool; }