Class TransformExtensions
- Namespace
- Zorro.Core
- Assembly
- Zorro.Core.Runtime.dll
public static class TransformExtensions
- Inheritance
-
TransformExtensions
- Inherited Members
-
Methods
public static void ClearChildren(this Transform transform)
Parameters
transform
Transform
public static Transform FindChildRecursive(this Transform transform, string name)
Parameters
transform
Transform
name
string
Returns
- Transform
public static List<Transform> FindChildrenRecursiveWithSelector(this Transform transform, Func<Transform, bool> selector)
Parameters
transform
Transform
selector
Func<Transform, bool>
Returns
- List<Transform>
public static List<Transform> GetChildrenRecursive(this Transform transform, List<Transform> list = null)
Parameters
transform
Transform
list
List<Transform>
Returns
- List<Transform>