I killed all the enemies in the first scene and go to the second scene
when I go back to the first scene all the enemy is alive but repeatedly play
attack animation. when I kill them they will stop moving but the attack animation still there.
But It works well if I start at the first scene and kill them, just when I go back to the first scene from the second scene the bug appears.
How do I fix this?
I don’t have any idea on how to reset the enemy back if I go back to the first scene.