Hello I please answer my question. I would prefer it be in C# but Javascript is good to.
Objects in different scenes get only instantiated when loaded, so no. the only way to transfer info from one into another scene is by static variables, dontdestroyonload gameobjects, PlayerPrefs, or some other serialization to disk.
Oh yeah sorry. I figured out that I needed to make the variable static. Thanks anyway!