The connection used to happen during enter_tree, but this was causing issues when setting the spawnable scenes from code. The spawner now connects/disconnects to the signal during add_spawnable_scene/clear_spawnable_scenes if the node is inside tree and has a valid spawn_path. |
||
|---|---|---|
| .. | ||
| doc_classes | ||
| editor | ||
| config.py | ||
| multiplayer_debugger.cpp | ||
| multiplayer_debugger.h | ||
| multiplayer_spawner.cpp | ||
| multiplayer_spawner.h | ||
| multiplayer_synchronizer.cpp | ||
| multiplayer_synchronizer.h | ||
| register_types.cpp | ||
| register_types.h | ||
| scene_cache_interface.cpp | ||
| scene_cache_interface.h | ||
| scene_multiplayer.cpp | ||
| scene_multiplayer.h | ||
| scene_replication_config.cpp | ||
| scene_replication_config.h | ||
| scene_replication_interface.cpp | ||
| scene_replication_interface.h | ||
| scene_rpc_interface.cpp | ||
| scene_rpc_interface.h | ||
| SCsub | ||