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