broken_seals_2ds/game/menu/ExitButton.gd

9 lines
132 B
GDScript3
Raw Normal View History

2022-01-30 23:20:50 +01:00
extends Button
func _ready():
if OS.has_feature("mobile") || OS.has_feature("web"):
hide()
func _pressed():
get_tree().quit()