godot_data_editor/warn.gd

10 lines
161 B
GDScript3
Raw Normal View History

2017-08-03 11:35:44 +02:00
tool
extends AcceptDialog
func warn(title, text):
set_title(title)
set_text(text)
popup_centered()
# Probably this should be placed at get_base_control()