gmtk-2024/addons/AsepriteWizard/interface/shared/tree/tree_selection_confirmation_warning.gd
2024-08-17 15:22:33 +01:00

18 lines
329 B
GDScript

@tool
extends VBoxContainer
signal warning_confirmed
signal warning_declined
@onready var _warning_message = $MarginContainer/warning_message
func set_message(text: String) -> void:
_warning_message.text = text
func _on_confirm_button_up():
warning_confirmed.emit()
func _on_cancel_button_up():
warning_declined.emit()