You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
406 B
11 lines
406 B
1 year ago
|
extends Control
|
||
|
|
||
|
|
||
|
func _unhandled_input(event) -> void:
|
||
|
if Input.is_action_pressed("归零") or Input.is_action_pressed("ui_menu") or Input.is_action_pressed("ui_home") or Input.is_action_pressed("ui_text_backspace") or Input.is_action_pressed("关于") or Input.is_action_pressed("ui_cancel"):
|
||
|
_on_返回_pressed()
|
||
|
|
||
|
|
||
|
func _on_返回_pressed():
|
||
|
get_tree ().change_scene_to_file("res://主界面.tscn")
|