Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
bool PrepareMapChange
(
FWorldContext & WorldContext,
const TArray< FName > & LevelNames
)
Prepares the engine for a map change by pre-loading level packages in the background.
true if all packages were in the package file cache and the operation succeeded, false otherwise. false as a return value also indicates that the code has given up.
Parameter |
Description |
---|---|
LevelNames |
Array of levels to load in the background; the first level in this list is assumed to be the new "persistent" one. |