Save Game data through scenes

Hey guys, i’m currently making a 2d game. I made a menu scene and a game scene. In the menu scene i have a button named background that takes you to another scenes where there is a bunch of backgrounds and you choose which one you want in your game. When i choose a background and then go to the game scene it doesn’t change at first when i lose and press restart it changes. Is there a way to fix this so it can change when the game starts? Please i need help

When changing scene it will appear the way you left it when designing the application. Easy way to store the value representative to the user selection would to make a static script with a static variable and then on Start() of the scene change the background dependent on that variable.

public static class GlobalValues
{
    public static int BackgroundSelection = 0;
}
void Start()
{
    switch(BackgroundSelection)
      {
          case 0:
          //insert background change -- GlobalValues.BackgroundSelection
          break;
      }
}

Thanks my guy but i already fixed it with player prefs