This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues or pull requests.
liblast/CharacterSelect.gd
2020-12-10 00:26:43 +01:00

12 lines
292 B
GDScript

extends Control
onready var game = get_parent().get_parent()
func _ready():
var dir = Directory.new()
dir.open("res://Assets/Characters/")
#$CenterContainer/VBoxContainer/CharacterList.add_child(null)
func spawn():
get_parent().get_parent().spawn(get_tree().get_network_unique_id())