stick-the-quick/ui/Enquiry.gd

13 lines
269 B
GDScript3
Raw Normal View History

class_name Enquiry extends Notice
@onready var _button_cancel := (
$'CenterContainer/PanelContainer/VBoxContainer/Nav/Cancel'
) as Button
func _ready() -> void:
super()
_button_cancel.pressed.connect(_on_cancel)
func _on_cancel() -> void:
UI.Return(self, false)