LoadScene() and variables

Hello, do the values within my variables get reset each time a scene is loaded, or do they retain the values they had from the previous scene?

You may require a specific script/gameobject to persist between scene changes by using DontDestroyOnLoad

All the scripts (Monobehaviours) attached to objects will be destroyed once you leave the scene. If you wan't to retain some values you can do something like this:

static class PermanentValues
{
  public static float PlayersHealth;
} 

This can be accessed from any other class like this:

...
PermanentValues.PlayersHealth = 15;
...

To save values you could also use PlayerPrefs.SetFloat(“Score”, score);