Hi everyone,
I ran into an issue while moving from lecture 158 to 159; after having the attackers stop at each defender and attack, reducing health in the inspector, and defenders being destroyed properly, I moved on to lecture 159. After getting to the point where I test that my projectiles have basic translation to the right, I noticed that my attackers stopped attacking! The effect is that they just keep walking, right over the defenders.
I went through the code, and it seems to all still be in place with the animation being triggered, etc., but i can’t seem to get it to work, despite not making any changes to the code for attackers. I have had similar odd issues where things stopped working after a bit, and was wondering if it is due to an error I get once in awhile (attached) about line endings not matching up. It could completely not be the issue, but just a thought.
Very grateful for any help here, and I have attacked several screenshots of the code, animator, etc. Happy to provide more info if need be!
Thanks in advance!