get child transform unity return type code example Example: unity get child GameObject Child; Child = transform.GetChild(0).gameObject;