Unity inaient

gameObject.transform.parent = null // remove parent of Game Object
Programming Doggo