unity get a tag with a parent gameobject code example
Example: unity reference parent gameobject
transform.parent.gameObject //Use this to reference the parent of the gameobject
transform.parent.gameObject //Use this to reference the parent of the gameobject