Navigation
API > API/Runtime > API/Runtime/Projects > API/Runtime/Projects/FModuleDescriptor
Description
Unloads all the modules for a given loading phase. Returns a map of module names to load errors. bSkipUnload can be used to simulate unloading
| Name | UnloadModulesForPhase |
| Type | function |
| Header File | /Engine/Source/Runtime/Projects/Public/ModuleDescriptor.h |
| Include Path | #include "ModuleDescriptor.h" |
| Source | /Engine/Source/Runtime/Projects/Private/ModuleDescriptor.cpp |
static void UnloadModulesForPhase
(
ELoadingPhase::Type LoadingPhase,
const TArray < FModuleDescriptor > & Modules,
TMap < FName , EModuleUnloadResult > & OutErrors,
bool bSkipUnload,
bool bAllowUnloadCode
)