Components to add to enemy

I don’t know if Sam mentioned it, perhaps I missed a few vital seconds, but I found with my project that I needed to add an ActionScheduler and Mover components for the changes in this lecture to work.
This might have been obvious to some, and it was to me, but there was so much focus on the Fighter script - and rightly so! - that this little detail might have eluded folks.

Or else others are just cleverer than I :smiley:

Oh my word thank you. I must have missed adding the Mover script to the enemy prefab as well.

Privacy & Terms