Navigation
API > API/Plugins > API/Plugins/MassSpawner > API/Plugins/MassSpawner/AMassSpawner
Description
If given entity has been spawned by this MassSpawner instance then it will get destroyed and all the book keeping updated. Otherwise the call has no effect.
| Name | DespawnEntity |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassSpawner.h |
| Include Path | #include "MassSpawner.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Private/MassSpawner.cpp |
bool DespawnEntity
(
const FMassEntityHandle Entity
)
true if the entity got removed. False otherwise.