Click or drag to resize

SceneTreeQuit Method

Quits the application at the end of the current iteration. A process exit_code can optionally be passed as an argument. If this argument is 0 or greater, it will override the ExitCode defined before quitting the application.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Quit(
	int exitCode = -1
)

Parameters

exitCode (Optional)
Type: SystemInt32

[Missing <param name="exitCode"/> documentation for "M:Godot.SceneTree.Quit(System.Int32)"]

See Also