RoR2-ChensGradiusMod

Gradius Mod in Risk of Rain 2.

View on GitHub

ChensGradiusMod

Chen.GradiusMod.Drones.Drone

Drone.FindChildRecursive(Transform, string) Method

Finds a child transform by name anywhere in the hierarchy.

protected static Transform FindChildRecursive(Transform root, string childName);

Parameters

root UnityEngine.Transform
The transform to search under.

childName System.String
The name of the child.

Returns

UnityEngine.Transform
The first transform found with the name, or null.