Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
namespace EEndPlayReason
{
enum Type
{
Destroyed,
LevelTransition,
EndPlayInEditor,
RemovedFromWorld,
Quit,
}
}
Name |
Description |
---|---|
Destroyed |
When the Actor or Component is explicitly destroyed. |
LevelTransition |
When the world is being unloaded for a level transition. |
EndPlayInEditor |
When the world is being unloaded because PIE is ending. |
RemovedFromWorld |
When the level it is a member of is streamed out. |
Quit |
When the application is being exited. |
Specifies why an actor is being deleted/removed from a level