All variables are public in a Godot and can be considered global (or at least within the same scope/namespace). So it is no problem to do things like this:
var player = get_node("Some/Path/Player")
print(player.any_variable)
Signals can also work, you can pass parameters to and from signals.