Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UGameplayStatics
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h |
Include | #include "Kismet/GameplayStatics.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp |
UFUNCTION (BlueprintPure, Category="Game", Meta=(WorldContext="WorldContextObject"))
static AGameStateBase * GetGameState
(
const UObject * WorldContextObject
)
Remarks
Returns the current GameStateBase or Null if it can't be retrieved