dev: 函数统一间隔两行
This commit is contained in:
@@ -8,6 +8,7 @@ func _ready():
|
||||
var root: Window = get_tree().root
|
||||
current_scene = root.get_child(root.get_child_count() - 1)
|
||||
|
||||
|
||||
func goto_scene(path: String):
|
||||
get_tree().change_scene_to_file("res://scenes/%s.tscn" % [path])
|
||||
var root: Window = get_tree().root
|
||||
|
||||
Reference in New Issue
Block a user