Skip to main content

GetComponentInChildrenAttribute

A class in Alta.Attributes, the global namespace.

Like GetComponentAttribute, but searches this object and its children.

Constructors​

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

Properties​

MemberWhat it is
bool IncludeInActive { get; set; }Also searches inactive children.

Methods​

MemberWhat it is
override Component GetComponent(Transform transform, Type type)First matching component in this object or its children.