Load and Save Game

Iam making a moile survival game and its big game, i need save and load system so people can save there progress not just start agin every time they play it anyone know how to make save and load when new ui button because my pause menu is with new ui :smiley:

Well, you want to start off finding out what you want to save.

Positions
,Exp
,Level
,etc.

Lets say you played your game and got to lvl 10
You would want to save the variable Lvl 10 and load it some other time.

You can do this by doing PlayerPrefs

var Lvl = 10;

//How we are going to save your level

function SaveLevel ()
{
PlayerPrefs.SetInt("SavedLevel",Lvl); 
//We now stored the Lvl variable and saved it as "SavedLevel"
}

//When you press the launch button you want to execute this function.
//Here we are getting the information we stored earlier and then inserting it into the Lvl variable

function LoadLevel ()
{
Lvl = PlayerPrefs.GetInt("SavedLevel");
}

I wrote this code in here and this is not tested, but this is just to show you how you can do it, if you want to go more in depth i suggest you read about PlayerPrefs here

Again this is not for copy paste but merely so you understand the way to do it, atleast a very simple way

use PlayerPrefs to save/load any information - gamesaves, settings, and so on.
to store a big data - you could serialize data to one string or use smth like namespaces when naming your saved data.