In my game, I parent and object to an enemy. I made so that when the enemy has a certain hp he disappears (end object). The problem is that the obejct parented to the enemy is also deleted that way. I tried to unparent it when the enemy is killed, but the object deletes before it unparents itself.
Please help me.