recursivefindchild - eisclimber/ExPresS-XR GitHub Wiki

RuntimeUtils.RecursiveFindChild(Transform,string)

Method in RuntimeUtils

Summary

Finds and returns the (first) UnityEngine.Transform of a child with the specified name.

public static Transform RecursiveFindChild(Transform parent, string childName)

Parameters

Name Description
UnityEngine.Transform parent The transform to find the child in.
string childName The name of the GameObject to find.

Returns

Returns the first Transform of a GameObject having the specified name, or null if there is none.

⚠️ **GitHub.com Fallback** ⚠️