Searches for the first component on the SceneObject itself, then 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.
The first component found, or null if none exists.
Searches for the first component on the SceneObject itself, then in its parent hierarchy.