bcirpggithubmirror/Phase2/Godot ===(Game Code)===/Experiments/Andrew_Multiplayer_Test/Global.gd
Andrew Tang ac73e184d3 Adjustments to Multiplayer Test
Added a join scene but was unable to get the client-server interaction working properly. Hopefully some of the code can be used as a starting point once we begin working on Dario's UI.
2022-08-22 02:56:29 +08:00

10 lines
172 B
GDScript

extends Node
func _instance_node(node: Object, parent: Object) -> Object:
var node_instance = node.instance()
parent.add_child(node_instance)
return node_instance