c# – Unity: Enemy cannot be damage if not using static variable for health
So I have a problem where my enemy cannot be damaged if I’m not using static variable for their health. But when using static variable if one of the enemy dies, the others die as well. The enemy doing damage to the player works ok, so I don’t know what causing the problem. Debug log … Read more