public GameObject Child; Child.transform.parent.gameObject.SetActive(false);
Destroy(transform.parent.gameObject);
transform.SetParent(parentTransform, true); transform.SetParent(null, true);