Answers for "godot exit func"

6

godot close game

get_tree().quit()
Posted by: Guest on June-18-2020
1

godot exit func

# Use "return"

func _ready():
    if some_condition:
        print("true")
    else:
        return # breaks execution of the entire function
    print("test")
Posted by: Guest on July-02-2020

Browse Popular Code Answers by Language