From 75d2fbc86830107480454dd4215f47879c0c8fd4 Mon Sep 17 00:00:00 2001 From: PJ568 Date: Wed, 3 Jan 2024 10:24:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=BD=E7=95=A5=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/关于.gd | 1 + Scripts/设置.gd | 1 + 2 files changed, 2 insertions(+) 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()