game: add time scale slider to debug panel
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user