Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FModuleManager
Description
Unloads a specific module NOTE: You can manually unload a module before the normal shutdown occurs with this, but be careful as you may be unloading another module's dependency too early!
| Name | UnloadModule |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h |
| Include Path | #include "Modules/ModuleManager.h" |
| Source | /Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp |
bool UnloadModule
(
const FName InModuleName,
bool bIsShutdown,
bool bAllowUnloadCode
)
true if module was unloaded successfully, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InModuleName | The name of the module to unload. Should not include path, extension or platform/configuration info. This is just the "module name" part of the module file name. |
| bIsShutdown | Is this unload module call occurring at shutdown (default = false). |
| bAllowUnloadCode | Allow unloading of code library if possible (default = true). |