AActor::FindComponentByClass

Override Hierarchy

AActor::FindComponentByClass()

ACharacter::FindComponentByClass()

Syntax

virtual UActorComponent * FindComponentByClass
(
    const TSubclassOf < UActorComponent > ComponentClass
) const

Remarks

Searches components array and returns first encountered component of the specified class, native version of GetComponentByClass

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp