feat: 完成设置部分和游戏内房主房客身份及IP地址的识别

This commit is contained in:
2026-01-06 08:12:57 +08:00
parent 7d75cd5660
commit 10e6d2d645
16 changed files with 159 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
extends Node
var current_scene = null
func _ready():
var root = get_tree().root
current_scene = root.get_child(root.get_child_count() - 1)
func goto_scene(path: String):
current_scene = path
get_tree().change_scene_to_file("res://scenes/%s.tscn" % [path])