private void Update() { if (_isFire && _player.CurrentWeapon.IsAutomatic) { ShootButtonPressed?.Invoke(); } }
public void OnShootButtonClick() { ShootButtonPressed?.Invoke(); }