Hi ttgm,
If you have a game object with only one component attached (apart from Transform), and you destroy the component, you won’t notice any difference in your game. The ‘empty’ game object will continue to live in the Hierarchy, though, which is a potential waste of resources in larger games. If we spawn multiple instances of this specific prefab, we could end up with hundreds if not thousands of empty game objects which might even negatively affect a small game like a mobile game on a mobile device.
In many cases, we don’t have just one component on a game object.
If you understood the difference, the questions for your game are: What exactly do you want to destroy, and why do you want to destroy it? Then apply your knowledge to find the ‘best’ solution for your specific problem. Gary and Rick did the same, which is why you see different ‘versions’ in the videos.
Is this what you wanted to know? ![:slight_smile: :slight_smile:](https://community.gamedev.tv/images/emoji/twitter/slight_smile.png?v=9)
See also: