Skip to main content

GetComponentsInChildrenAttribute

A class in Alta.Attributes, the global namespace.

Like GetComponentsAttribute, but collects components from this object and its children.

Constructors​

MemberWhat it is
GetComponentsInChildrenAttribute()Creates a GetComponentsInChildrenAttribute with default values.

Methods​

MemberWhat it is
override Component[] GetComponents(Transform transform, Type type)All matching components in this object and its children, honouring IncludeInActive.