Control port 1.1

This commit is contained in:
Jan Groß
2017-11-18 11:51:50 +01:00
parent 8700a7c404
commit 3f78b986b1
3 changed files with 10 additions and 4 deletions

View File

@@ -92,9 +92,10 @@ func anim_finished():
print(\"SETTING QTIME SACALE\")
OS.set_time_scale(0)
func on_button_clicked():
OS.set_time_scale(1)
hide()
func _input(event):
if(event.is_action_pressed(\"Coin\")):
OS.set_time_scale(1)
hide()
"
[node name="Node" type="Node"]