hi all
i have 2 spawers and they are in the scene at start i need to check when both are destroyed, using the Main as a kind of global class to track.
the signal works but only on 1 spawner, the reason is this
onready var Spawner = get_node("Spawner")
the names are Spawner and Spawner2, surely i don't have to ref every one by name, what if i have 50 of them, is there a group function?
or am i connecting them wrongly.
the signal is on the spawners and they emmit
they connect on the Main
thanks