diff --git a/docs/02-tasks/04-unity-build-task.md b/docs/02-tasks/04-unity-build-task.md index ef93950..35fc246 100644 --- a/docs/02-tasks/04-unity-build-task.md +++ b/docs/02-tasks/04-unity-build-task.md @@ -168,6 +168,16 @@ Specifies the static method to run via command line to build the project. Only r |----------------------------|-------------------------------|----------|---------| | `scriptExecuteMethod` | Build script execute method | Yes, if `buildScriptType` is `inline` or `existing` | - | +### scriptCompletionQuit + +Weather to quit the Unity editor after the build script method has completed. +If set to false, the editor will stay open after the build script method has completed. +Only relevant when using `buildScriptType` `existing`. + +| YAML | Classic Editor | Required | Default | +|----------------------------|-------------------------------|----------|---------| +| `scriptCompletionQuit` | Quit Unity editor after script method has completed | No | true | + ### outputPath Specify the build output path relative to the repository root or fully qualified. @@ -260,4 +270,4 @@ This task defines the following output variables, which you can consume in downs ### editorLogFilePath -Path to the Unity editor log file generated while executing the task. \ No newline at end of file +Path to the Unity editor log file generated while executing the task.