I need to send information for a scene to indicate spawner locations , ammount , etc
Code: Select all
var p:PackedScene = load( "res://Scenes/scene.tscn" )
var scene = p.instantiate()
scene.add_player( isMe , playerName , nodeId )
get_tree().change_scene_to_packed(p)
I saw everywhere, I mean, everybody using singletons to make this works, sorry, singleton is not a solution for me, is there a way to send information to the scene or this is just one more problem godot have and if I want to use it I need to use singletons ???