Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Change starting scene in game?

Discussion in 'Editor & General Support' started by Treasureman, Feb 20, 2017.

  1. Treasureman

    Treasureman

    Joined:
    Jul 5, 2014
    Posts:
    563
    Hi!
    I'm trying to implement a save system into my game, but I'm not sure how to do it. Here's what I'm looking for.

    Let's say you have 2 scenes called "Scene 1" and "Scene 2". Scene 1 is your starting scene. If you are able to load up Scene 2 in game, close the application, and relaunch it, it would start on Scene 2 instead of Scene 1.

    Can anyone help me out with this?
     
  2. guzzo

    guzzo

    Joined:
    Feb 20, 2014
    Posts:
    79
    There is probably a better way to do it, but you can create an empty scene0 and load scene1 or scene2 depending on the user's saved data.
     
  3. Treasureman

    Treasureman

    Joined:
    Jul 5, 2014
    Posts:
    563
    How could I do that, recognizing what levels have been played and which haven't?