Table of Contents

Method SelfAndAllChildren

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

SelfAndAllChildren(Transform)

A lazy enumerable of this objects transform, and all it's children down the hierarchy.

public static IEnumerable<Transform> SelfAndAllChildren(this Transform transform)

Parameters

transform Transform

Returns

IEnumerable<Transform>