Finds all components on the SceneObject itself and in its parent hierarchy.
The SceneObject to start the search from.
The type of component to search for.
Maximum number of parent levels to search.
An array of all matching components found.
Finds all components on the SceneObject itself and in its parent hierarchy.