I dont understand… Why Shooter Weapon fire if left button mouse pressed? Why AShooterWeapon::HandleFiring() called every tick but another functions not called? Help me please
Ok i found solution. HandleFiring have recursion in:
bRefiring = (CurrentState == EWeaponState::Firing && WeaponConfig.TimeBetweenShots > 0.0f);
if (bRefiring)
{
GetWorldTimerManager().SetTimer(this, &AShooterWeapon::HandleFiring, WeaponConfig.TimeBetweenShots, false);
}