godot_data_editor/warn.gd
2017-08-03 11:35:44 +02:00

10 lines
161 B
GDScript

tool
extends AcceptDialog
func warn(title, text):
set_title(title)
set_text(text)
popup_centered()
# Probably this should be placed at get_base_control()