2 questions - Quicksave Pause game

Hi! I have 2 questions:

  1. How can i puse game and show for example menu and after that return to game???
  2. How can i make quicksave/load ???
  1. Check the FPS Tutorial
  2. Take a look at the docs about PlayerPrefs Unity - Scripting API: PlayerPrefs
  1. Check the FPS Tutorial
  2. Take a look at the docs about PlayerPrefs Unity - Scripting API: PlayerPrefs

Thank you !

Actually i didn’t understand how can i save /load game using PlayerPrefs. Isn’t there easier way to save game - because how i understand then with playerPrefs i can save only a variable.

One game might need to save ammo and score. Another might only need the current level. Others, might need to save the position and rotation of a few dozen objects.

There is no way to determine what needs to be saved for each individual game to restore it’s state. It’s totally up to the developer.

also, saving a game is nothing else but saving variables and restoring them

I know that - but it is very hard to save and restore all object positions/rotations,variables. Isn’t there a command like save scene or something like that?

I agree with you, there SHOULD be an easy way to save/freeze the current state, but this functionality is not built in to Unity at the present time.

For now, your best bet would be to look at EZ Game Saver, which does much of the work for you:

http://www.anbsoft.com/middleware/ezs/

thanks for the information :), but then i will better forget about save game idea :? at least in this project :slight_smile: