Search Unity

Scene misunderstanding.

Discussion in '2D' started by FreeHugsHere, May 23, 2018.

  1. FreeHugsHere

    FreeHugsHere

    Joined:
    Apr 7, 2015
    Posts:
    9
    Need help guys!
    i made a little video, so its easier to explain.



    First i press on a button, so animation will play and the door is open. This is a simple canvas button with animation action.

    Next im going to my previous level and returning back. The gates are closed.

    What can i do, so Unity will save all the progress automatically?

    Thank you very much!
     
  2. TanselAltinel

    TanselAltinel

    Joined:
    Jan 7, 2015
    Posts:
    190
    There is no save mechanic in Unity because simply every game would require different solution.

    You can just save your gate's last position and set it there if it is already opened on scene load.
     
  3. FreeHugsHere

    FreeHugsHere

    Joined:
    Apr 7, 2015
    Posts:
    9
    Save position where?
     
  4. TanselAltinel

    TanselAltinel

    Joined:
    Jan 7, 2015
    Posts:
    190