Method | Description | |
---|---|---|
DecendantsBreadthFirst ( this transform ) : IEnumerable |
Returns all the decendant T:UnityEngine.Transform to the specified transform using breadth first traversal.
|
|
DecendantsDepthFirst ( this transform ) : IEnumerable |
Returns all the decendant T:UnityEngine.Transform to the specified transform using depth first traversal.
|
|
DestroyAllChildren ( this parent ) : void |
Destroys all the children of the specified parent T:UnityEngine.Transform.
|
|
DestroyImmediateAllChildren ( this parent ) : void |
Destroys all the children of the specified parent T:UnityEngine.Transform.
|
public static DecendantsBreadthFirst ( this transform ) : IEnumerable |
||
transform | this |
/// The parent |
return | IEnumerable |
public static DecendantsDepthFirst ( this transform ) : IEnumerable |
||
transform | this |
/// The parent |
return | IEnumerable |
public static DestroyAllChildren ( this parent ) : void | ||
parent | this |
/// The parent |
return | void |
public static DestroyImmediateAllChildren ( this parent ) : void | ||
parent | this |
/// The parent |
return | void |