EEndPlayReason::Type

Syntax

namespace EEndPlayReason
{
    enum Type
    {
        Destroyed,
        LevelTransition,
        EndPlayInEditor,
        RemovedFromWorld,
        Quit,
    }
}

Values

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.

Remarks

Specifies why an actor is being deleted/removed from a level

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/EngineTypes.h