This question already has an answer here:

I'm making a game that's pretty simple and I really only need to save one int for when the game is closed (the scene the payer is at), but all the tutorials and guides I've seen haven't been much help so far.

So basically I want a way to either have the game, resume right where I left off when I quit, have it load a specific scene when you resume playing, or have it save that single int. Having it load a specific scene would work best but I can use any of the options stated above.


marked as duplicate by DMGregory unity Jun 1 '18 at 16:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    \$\begingroup\$ all the tutorials and guides I've seen haven't been much help so far What did they taught you that you that you did not like or that was not fitting your needs? In what should the answers given here be different from these tutorials and guides? \$\endgroup\$ – Alexandre Vaillancourt Jun 1 '18 at 15:55
  • \$\begingroup\$ I've marked this question as a duplicate of our existing general Unity saving Q&A for the time being. If you edit the question to include more details specific to the problem you're having as Alexandre Vaillancourt describes above, then we can re-open the question for new answers. \$\endgroup\$ – DMGregory Jun 1 '18 at 16:29
  • \$\begingroup\$ Have you tried PlayerPrefs (although it's more than a starting point than the definitive answer to your needs)? This is so - basic... \$\endgroup\$ – loptrinho Jun 2 '18 at 13:31

Browse other questions tagged or ask your own question.