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 |
static USaveGame &42; LoadGameFromSlot
&40;
const FString & SlotName,
const int32 UserIndex
&41;
Remarks
Load the contents from a given slot. Object containing loaded game state (nullptr if load fails)
Parameters
Name | Description |
---|---|
SlotName | Name of the save game slot to load from. |
UserIndex | The platform user index that identifies the user doing the saving, ignored on some platforms. |