RingOfRaces/MiscButtons.gd

14 lines
331 B
GDScript

extends TouchScreenButton
#func _input(always):
func _physics_process(delta):
if Input.is_action_pressed("move_left") and Input.is_action_pressed("move_right"):
show()
elif Input.is_action_pressed("ui_end"):
hide();
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass