Navigation
API > API/Plugins > API/Plugins/ModularGameplay > API/Plugins/ModularGameplay/UPlayerStateComponent
Description
Gets the pawn that owns the component, this will return null if the pawn does not exist or is still replicating
| Name | GetPawn |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ModularGameplay/Source/ModularGameplay/Public/Components/PlayerStateComponent.h |
| Include Path | #include "Components/PlayerStateComponent.h" |
template<class T>
T * GetPawn() const