Navigation
API > API/Plugins > API/Plugins/MassSpawner > API/Plugins/MassSpawner/FMassEntityTemplateRegistry
References
| Module | MassSpawner |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTemplateRegistry.h |
| Include | #include "MassEntityTemplateRegistry.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Private/MassEntityTemplateRegistry.cpp |
void Initialize
&40;
const TSharedPtr< FMassEntityManager > & InEntityManager
&41;
Remarks
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.