]> Untitled Git - wolf-seeking-sheep.git/blob - addons/dialogic/Editor/Events/event_field.gd
Initial Godot project with Dialogic 2.0-Alpha-17
[wolf-seeking-sheep.git] / addons / dialogic / Editor / Events / event_field.gd
1 @tool
2 class_name DialogicVisualEditorField
3 extends Control
4
5 signal value_changed(property_name:String, value:Variant)
6 var property_name := ""
7
8 var event_resource: DialogicEvent = null
9
10 #region OVERWRITES
11 ################################################################################
12
13 ## To be overwritten
14 func _load_display_info(info:Dictionary) -> void:
15         pass
16
17
18 ## To be overwritten
19 func _set_value(value:Variant) -> void:
20         pass
21
22
23 ## To be overwritten
24 func _autofocus() -> void:
25         pass
26
27 #endregion
28
29
30 func set_value(value:Variant) -> void:
31         _set_value(value)
32
33
34 func take_autofocus() -> void:
35         _autofocus()