recursivefindchild - eisclimber/ExPresS-XR GitHub Wiki
Method in RuntimeUtils
Finds and returns the (first) UnityEngine.Transform of a child with the specified name.
public static Transform RecursiveFindChild(Transform parent, string childName)| Name | Description |
|---|---|
UnityEngine.Transform parent |
The transform to find the child in. |
string childName |
The name of the GameObject to find. |
Returns the first Transform of a GameObject having the specified name,
or null if there is none.