Navigation
API > API/Plugins > API/Plugins/MassSpawner > API/Plugins/MassSpawner/FMassEntityTemplateRegistry
Description
Initializes and stores the EntityManager the templates will be associated with. Needs to be called before any template operations. Note that the function will only let users set the EntityManager once. Once it's set the subsequent calls will have no effect. If attempting to set a different EntityManaget an ensure will trigger.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTemplateRegistry.h |
| Include Path | #include "MassEntityTemplateRegistry.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Private/MassEntityTemplateRegistry.cpp |
void Initialize
(
const TSharedPtr < FMassEntityManager > & InEntityManager
)