remove parent from gameobject code example Example: how to destroy parent gameobject unity Destroy(transform.parent.gameObject);