Function SceneTree.setQuitOnGoBack
If true
, the application quits automatically on going back (e.g. on Android). Enabled by default.
To handle 'Go Back' button when this option is disabled, use constant MainLoop
.
void setQuitOnGoBack
(
const(bool) enabled
) nothrow @nogc;