game: add time scale slider to debug panel

This commit is contained in:
2025-08-19 19:38:53 +02:00
parent e3d68b5f2b
commit 5207f2a26c
2 changed files with 26 additions and 0 deletions

View File

@@ -70,3 +70,7 @@ func update_debug_stats() -> void:
value_label.size_flags_horizontal = Control.SIZE_EXPAND_FILL
gc.add_child(key_label)
gc.add_child(value_label)
func _on_time_scale_slider_value_changed(value: float) -> void:
Engine.time_scale = value