delete parent game object code example Example: how to destroy parent gameobject unity Destroy(transform.parent.gameObject);