public void Construct(SignalBus signalBus, Settings settings, GameInput input, Bullet.Pool bulletPool) { _signalBus = signalBus; _settings = settings; _input = input; _bulletPool = bulletPool; _rigidbody = GetComponent <Rigidbody2D>(); _transform = transform; _signalBus.Fire(new WeaponChangedSignal() { NewWeapon = _settings.weapons[_weaponIdx].name }); }
public BulletManager(Bullet.Pool bulletPool) { _bulletPool = bulletPool; }