Save and load

I’d like to know how to save a scene and the variable of lifes and make a script to load it.

If you’re not saving too much information, you can use PlayerPrefs.

About the save of scene: This code get script(example: Application.LoadLevel(1)), or i’ve to create a variable and declare the value of what level will be opened?

You can’t just save the whole scene just like that. You will have to save all the content in the scene manually.

The PlayerPrefs Get and Set must be on the same page?

I’ve added SetInt and GetInt to the game. When i stop debugging and try open saved data, doesn’t open anything. what’s wrong?