Navigation
API > API/Plugins > API/Plugins/MassSpawner > API/Plugins/MassSpawner/FMassEntityTemplateBuildContext
References
| Module | MassSpawner |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTemplateRegistry.h |
| Include | #include "MassEntityTemplateRegistry.h" |
bool IsInspectingData() const
Remarks
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). whether this context is in data inspection mode.