How to check ChildrenTag if parent TAG don't have a ChildrenTag?

Hi,

I’d like to know if “go.name” don’t have named children tag, then I do something.

GameObject[] objectsPrice = GameObject.FindGameObjectsWithTag("Player");
foreach (GameObject go in objectsPrice)
{
...
}

Renderer[] rendererComponents = go.GetComponentsInChildren<Renderer>();
foreach (Renderer component in rendererComponents)
{
...
}

The .tag field is just a string. You can compare two GameObjects tag fields to see if they have the same string tag.

If you mean does something have a script/component, then you can do a .GetComponent<>() call on it and see if you get a non-null reference.