EPlayOnBuildMode

Determines whether to build the executable when launching on device.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Settings/LevelEditorPlaySettings.h

Include

#include "Settings/LevelEditorPlaySettings.h"

Syntax

enum EPlayOnBuildMode
{
    PlayOnBuild_Always,
    PlayOnBuild_Never,
    PlayOnBuild_Default,
    PlayOnBuild_IfEditorBuiltLocally,
}

Values

Name

Description

PlayOnBuild_Always

Always build.

PlayOnBuild_Never

Never build.

PlayOnBuild_Default

Build based on project type.

PlayOnBuild_IfEditorBuiltLocally

Build if we're using a locally built (ie. non-promoted) editor.

Remarks

Determines whether to build the executable when launching on device. Note the equivalence between these settings and EProjectPackagingBuild.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss