Was Sam confused?

Why did he bring up “Hit()”?

Isn’t it a little early for that one?

Why the confusion Sam?

What was the purpose of the Hit()?

The video did not mention it again…
Hmm…
Thinking…
Wondering…
What is up?

Thanks
PS: I have a feeling it is for later. as I am trying to prepare myself of MANY UNNECCESSARY refactors.

The animations we’ve provided (all animations by Explosive) include an Animation Event baked into them Hit(). Without having a component on your GameObject with a method named Hit() to handle the event, then the game will throw a warning. Sam just included it now to avoid that. In a future lecture, we’ll put some code behind that Hit().

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms