Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Modules/ModuleManager.h |
Include |
#include "Modules/ModuleManager.h" |
template<typename TModuleInterface>
static TModuleInterface & LoadModuleChecked
(
const FName InModuleName
)
Loads a module by name, checking to ensure it exists.
This method checks whether the module actually exists. If the module does not exist, an assertion will be triggered. If the module was already loaded previously, the existing instance will be returned.
Returns the module interface, casted to the specified typename
Parameter |
Description |
---|---|
ModuleName |
The module to find and load |