road-rage-tank/ui/debug_menu/debug_menu.gd
2026-03-02 23:23:21 -05:00

15 lines
281 B
GDScript

extends CanvasLayer
var high_speed_hack := false
func _ready() -> void:
hide()
func _process(_delta: float) -> void:
if Input.is_action_just_pressed("debug_menu"):
visible = not visible
func _on_high_speed_button_pressed() -> void:
high_speed_hack = not high_speed_hack