bcp de characters

This commit is contained in:
E250429F
2026-09-03 09:43:13 +02:00
parent a061aff066
commit 025a866eef
1175 changed files with 85837 additions and 286 deletions
@@ -0,0 +1,31 @@
@tool
extends DialogicVisualEditorFieldVector
## Event block field for a Vector2.
var current_value := Vector2()
func _set_value(value: Variant) -> void:
current_value = value
super(value)
func get_value() -> Vector2:
return current_value
func _on_sub_value_changed(sub_component: String, value: float) -> void:
match sub_component:
'X': current_value.x = value
'Y': current_value.y = value
_on_value_changed(current_value)
func _update_sub_component_text(value: Variant) -> void:
$X._on_value_text_submitted(str(value.x), true)
$Y._on_value_text_submitted(str(value.y), true)
func _on_step_changed(new_step:float) -> void:
$X.step = new_step
$Y.step = new_step