Method GetComponentsInChildrenAlways
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
GetComponentsInChildrenAlways<T>(Component)
Finds all components of the type T on the same object and on a children down the hierarchy. This method also works in the editor and when the game object is inactive.
[Version(1, 1, 0)]
public static T[] GetComponentsInChildrenAlways<T>(this Component component) where T : Component
Parameters
component
Component
Returns
- T[]
Type Parameters
T