Hi, all. Just having a little trouble understanding the code that was implemented in this video, specifically the changes to fighter.cs. I understand the logic of what is happening in the Hit() event, as far as how the damage gets taken. What I’m confused about is how is AttackBehaviour() triggering the Hit() event? I’ve been looking through all the scripts trying to figure out where Hit() gets called, and I would appreciate if anyone could further explain.
Cheers