Click or drag to resize

OSExitCode Property

The exit code passed to the OS when the main loop exits. By convention, an exit code of 0 indicates success whereas a non-zero exit code indicates an error. For portability reasons, the exit code should be set between 0 and 125 (inclusive).

Note: This value will be ignored if using Quit(Int32) with an exit_code argument passed.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static int ExitCode { get; set; }

Property Value

Type: Int32
See Also