- Edited
I'm following a YouTube tutorial series, and in this video we send a signal from a coin scene to a HUD to display the number of coins counted. The instructor mentions that he doesn't know a way to connect the coin scene itself to the HUD in the level scene.
I'm wondering, is there any way to do this? Manually setting the connection in every single instance seems like an anti-pattern. I know Unity has "prefab" objects and objects you can set to not destroy on load, so you can just create a HUD reference in the prefab that all of its instantiated copies will automatically receive as well.
Is there an analogue in Godot to the Unity pattern? Some way to set a connection from a "prefab" scene to a node in another scene, so that all of its instances will have the connection set up as well?