Recursively finds all components of a specific type in the children of the given SceneObject.
The SceneObject whose children to search.
The type of component to search for.
Maximum search depth.
An array of all matching components found.
Recursively finds all components of a specific type in the children of the given SceneObject.