Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include | #include "Engine/World.h" |
Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
void DestroyWorld
&40;
bool bInformEngineOfWorld,
UWorld &42; NewWorld
&41;
Remarks
Destroy this World instance. If destroying the world to load a different world, supply it here to prevent GC of the new world or it's sublevels.