When I was doing the challenge for this video, I set timeSinceLastAttack = Time.deltaTime, while Sam resets timeSinceLastAttack to 0 after the attack behavior.
I got the same result in the throttling, and I tested the value of timeSinceLastAttack with a print statement using both methods but I’m not sure why it works (I was just trying it out).
Are they functionally the same? Why/why not?
Thanks in advance!