Navigation
API > API/Plugins > API/Plugins/MassSpawner > API/Plugins/MassSpawner/FMassEntityTemplateBuildContext
Description
The method that allows to distinguish between regular context use (using traits to build templates) and the "data investigation" mode (used for debugging and authoring purposes). Utilize this function to avoid UWorld-specific operations (like getting subsystems). This method should also be used when a trait contains conditional logic - in that case it's required for the trait to add all the types that are potentially added at runtime (even if seemingly conflicting information will be added).
| Name | IsInspectingData |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTemplateRegistry.h |
| Include Path | #include "MassEntityTemplateRegistry.h" |
bool IsInspectingData() const
whether this context is in data inspection mode.