DemiLib
A collection of Demigiant's utility libraries for Unity (https://github.com/Demigiant/demilib)
DG.DeExtensions.ComponentExtensions Class Reference

Static Public Member Functions

static T[] GetOnlyComponentsInChildren< T > (this MonoBehaviour m, bool includeInactive=false)
 Returns ONLY the Components in the children, and ignores the parent. More...
 

Member Function Documentation

static T [] DG.DeExtensions.ComponentExtensions.GetOnlyComponentsInChildren< T > ( this MonoBehaviour  m,
bool  includeInactive = false 
)
static

Returns ONLY the Components in the children, and ignores the parent.

Parameters
includeInactiveIf TRUE also includes inactive children
Type Constraints
T :Component 

The documentation for this class was generated from the following file: