unreal.EndPlayReason
¶
-
class
unreal.
EndPlayReason
¶ Bases:
unreal.EnumBase
Specifies why an actor is being deleted/removed from a level
C++ Source:
Module: Engine
File: EngineTypes.h
-
DESTROYED
¶ When the Actor or Component is explicitly destroyed.
- Type
0
-
END_PLAY_IN_EDITOR
¶ When the world is being unloaded because PIE is ending.
- Type
2
-
LEVEL_TRANSITION
¶ When the world is being unloaded for a level transition.
- Type
1
-
QUIT
¶ When the application is being exited.
- Type
4
-
REMOVED_FROM_WORLD
¶ When the level it is a member of is streamed out.
- Type
3