#string does not become empty
1 messages · Page 1 of 1 (latest)
you have to show more code
especially where/when you call ChangeComboWindowForTimer
show the script that calls that
Of course!
public void AttackState(string value)
{
combo.ChangeComboWindowForTimer(combo.currentWeapon.comboSequenceResetTimer, value);
ChangeState(attackState);
}
also this
playerInput.AttackInput += AttackState;
also this
public event Action<string> AttackInput;
and finally this
public void OnPrimaryAttackInput(InputAction.CallbackContext context)
{
if (context.performed) AttackInput.Invoke("1");
}
when and where are you doing playerInput.AttackInput += AttackState;
can you show this full script
it's hard to piece together random snippets without knowing how they are related
my guess is that you are probably doing playerInput.AttackInput += AttackState; multiple times
yeah
exactly
I'm sorry for wasting your time