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