Hi All,
I have an auto attack script that when it is in range and the enemy has been clicked it will attack that object till destroyed but when the object is destroyed the animation keeps playing.
i have tried a few different ways using if enemy current health is <= 0 do this or that but just can’t seem to get it working.
Would you be so kind and give me a few ideas on how to do this as i just can’t visualise it in my head?
Many Thanks