Skip to main content

GetComponentsInChildrenInterfaceAttribute

A class in Alta.Attributes, the global namespace.

Like GetComponentsInterfaceAttribute, but collects from this object and its children.

Constructors​

MemberWhat it is
GetComponentsInChildrenInterfaceAttribute(Type type)Creates a GetComponentsInChildrenInterfaceAttribute from type.

Methods​

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