/Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h
Searches components array and returns first encountered component of the specified class, native version of GetComponentByClass
virtual [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * FindComponentByClass ( const [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UActorComponent](API\Runtime\Engine\Components\UActorComponent) > ComponentClass ) const