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.
568_Calc/Scripts/设置.gd

25 lines
789 B

extends Control
10 months ago
#@onready var 本场景 = $"面板"
@onready var = $"面板/背景色/MarginContainer/色/内容按钮分隔/正文和标题分隔2/语言"
11 months ago
@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()
11 months ago
func _ready():
10 months ago
#本场景.set("theme", "res://Assets/样式/得意黑字体.tres")
.selected = Global.()
11 months ago
func _on__pressed():
get_tree ().change_scene_to_file("res://主界面.tscn")
func _on__item_selected(index):
11 months ago
Global.(index)