Answer the question
In order to leave comments, you need to log in
unity. How to save the scene the player is in?
(game on the android platform) When you start the game, we get to the main scene in the menu, then we go through the levels, and when you exit the game, it starts again from the menu scene. The task is to make the player stay on the same stage where he finished playing.
I tried to save the scene through the playerprefs component (I gave the scene a name and saved it as int, I watched one guy's video. But he had a much easier toy, maybe that didn't work out) I also read the documentation that you can save through the cache. But I think it's quite difficult for a simple mobile phone.
Answer the question
In order to leave comments, you need to log in
Well, why don't you want to use PlayerPrefs? They are just created in order to save information between game launches.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question