RingOfRaces/MiscButtons.gd

15 lines
332 B
GDScript3
Raw Normal View History

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"):
2020-10-06 12:03:54 +00:00
hide()
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass