How to remove a gameobject code example Example: unity remove component in script Destroy (gameObject);