Hello everyone, here's the problem. I made enemies as a prefab. If I jump on an enemy, it doesn't kill the enemy I stomped on, but the other one.
I realized if I add more enemies, that it always kills the one which has biggest number in its name, for example if I add another one, it will be called "Enemy (2)", and if I jump on any enemy, Enemy (2) will be killed.
Here's the video for better explanation (sorry for not being HD): https://youtu.be/4bMYw7s116k
I do not know what I did wrong?
↧