15 lines
281 B
GDScript
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
|
|
|