◆ TransformAndAllDecendants()

static IEnumerable<Transform> TransformAndAllDecendants ( this Transform  transform)
static
Parameters
transformcalling transform that will be enumerated.
Returns
IEnumberable that can loop though the transform, and all descendants.