Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Description
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.
| Name | DestroyWorld |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
void DestroyWorld
(
bool bInformEngineOfWorld,
UWorld * NewWorld
)