Recursively searches for the first component 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.
The first component found, or null if none exists.
Recursively searches for the first component of a specific type in the children of the given SceneObject.