Navigation
API > API/Plugins > API/Plugins/ModularGameplay > API/Plugins/ModularGameplay/UPawnComponent
Description
Gets the player state that owns the component, this can return null on clients for player pawns that are still being replicated
| Name | GetPlayerState |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ModularGameplay/Source/ModularGameplay/Public/Components/PawnComponent.h |
| Include Path | #include "Components/PawnComponent.h" |
template<class T>
T * GetPlayerState() const