I’ve almost completed this course, still at the weapon refactor part. but i’m coming back here to figure out about this Hit() event.
Its quite vague how the Hit() event works. I know its set in the animation clip in the unity editor, but how is this Hit() triggered? The script that sets the trigger for the attack animation? Or is this broadcasted to all the scripts attached to the gameobject?