Any method to destroy the enemy parent component? To be able to disable it after it has died. Use unity 2d
What I want to achieve is, when creating the death animation, the parent component can disappear. “Enemy”
Any ideas?
![Ícono de validado por la comunidad](https://uploads.gamedev.net/forums/monthly_2020_12/add619027c734e0388d341474edbc1ed.image.png)
![Ícono de validado por la comunidad](https://uploads.gamedev.net/forums/monthly_2020_12/5ce2bfecdcba4b07b2e358d77ef44e9c.image.png)
![](https://uploads.gamedev.net/forums/monthly_2020_12/5cf55a8938bb46b88c26f09fdc93906d.unity-enemy.png)
Any method to destroy the enemy parent component? To be able to disable it after it has died. Use unity 2d
What I want to achieve is, when creating the death animation, the parent component can disappear. “Enemy”
Any ideas?