Reply From: | AiTechEye |
get_tree().get_root().get_node("Spatial/node1/node2").get("variable")
The other way is by adding the scenes in [project settings] > [AutoLoad]
so, if you adds level 1, and name it to level1, then you can get access to it like:
level1.get_node("node1").get("coins_variable")