Table of Contents

Class TransformExtensions

Namespace
Zorro.Core
Assembly
Zorro.Core.Runtime.dll
public static class TransformExtensions
Inheritance
TransformExtensions
Inherited Members

Methods

ClearChildren(Transform)

public static void ClearChildren(this Transform transform)

Parameters

transform Transform

FindChildRecursive(Transform, string)

public static Transform FindChildRecursive(this Transform transform, string name)

Parameters

transform Transform
name string

Returns

Transform

FindChildrenRecursiveWithSelector(Transform, Func<Transform, bool>)

public static List<Transform> FindChildrenRecursiveWithSelector(this Transform transform, Func<Transform, bool> selector)

Parameters

transform Transform
selector Func<Transform, bool>

Returns

List<Transform>

GetChildrenRecursive(Transform, List<Transform>)

public static List<Transform> GetChildrenRecursive(this Transform transform, List<Transform> list = null)

Parameters

transform Transform
list List<Transform>

Returns

List<Transform>