public static Player GetInstance() { if (Instance == null) { Instance = new Player(); SaveLoadGame.LoadGame(); } return(Instance); }
private void Start() { timerCheck = 0.11f; if (PlayerPrefs.HasKey("Load") && PlayerPrefs.GetInt("Load") == 1) { if (Ini.FileExists("Save.sv")) { Saving.LoadGame(); StartGame(); } } }
public void Continue() => svGame.LoadGame();