diff --git a/Scripts/关于.gd b/Scripts/关于.gd index ddfd3ef..d0b72b2 100644 --- a/Scripts/关于.gd +++ b/Scripts/关于.gd @@ -5,6 +5,7 @@ extends Control #TranslationServer.set_locale("es") +@warning_ignore("unused_parameter") 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() diff --git a/Scripts/设置.gd b/Scripts/设置.gd index 4f1ca64..187b6ee 100644 --- a/Scripts/设置.gd +++ b/Scripts/设置.gd @@ -18,6 +18,7 @@ func _ready(): _on_语言_item_selected(4) +@warning_ignore("unused_parameter") 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()