LightningSpellScriptFindChildRecursively Method |
Find a game object searching recursively through all children and grand-children, etc.
Namespace:
DigitalRuby.ThunderAndLightning
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static GameObject FindChildRecursively(
Transform t,
string name
)
Public Shared Function FindChildRecursively (
t As Transform,
name As String
) As GameObject
public:
static GameObject^ FindChildRecursively(
Transform^ t,
String^ name
)
static member FindChildRecursively :
t : Transform *
name : string -> GameObject
Parameters
- t
- Type: Transform
Transform - name
- Type: SystemString
Name of object to find
Return Value
Type:
GameObjectGameObject or null if not found
See Also