Only attack once?

For some reason I only attack once. If i click on the enemy it will print the attack message but won’t print again if i attack again. My scripts are the exact same. Any idea why I would have this issue? Im afraid it will be a bigger problem later if I continue with the lesson.

Perhaps share what you did so we can see. Fighter.cs would be a good start

This is Fighter.cs
image

and PlayerController.cs


and Mover.cs

This all looks fine. Are you sure it’s not printing again? Do you have the ‘Collapse’ button checked in the console?

Oh man… xD. Yes thats what it was. Thank you!

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