broken_seals_2d/game/menu/ExitButton.gd

9 lines
132 B
GDScript

extends Button
func _ready():
if OS.has_feature("mobile") || OS.has_feature("web"):
hide()
func _pressed():
get_tree().quit()