Where is the game progress saved in the demo menu?
-
- Posts: 12
- Joined: Sun Aug 06, 2023 7:43 pm
Where is the game progress saved in the demo menu?
Where is the game progress saved in the demo menu? I tried to delete the progress, but it didn't delete, so I want to do it manually
Re: Where is the game progress saved in the demo menu?
Hi,
The save system hands off saving to an abstract class called SavedGameDataStorer. You can attach specific implementations of SavedGameDataStorer to the save system to save to different locations (PlayerPrefs, disk, cloud, etc.).
In the demo, the save system uses the PlayerPrefsSavedGameDataStorer implementation, which means it saves to PlayerPrefs. Open DemoScene1 and inspect the Dialogue Manager GameObject. Scroll down to the PlayerPrefs Saved Game Data Storer component and click the "Clear Saved Games" button.
The save system hands off saving to an abstract class called SavedGameDataStorer. You can attach specific implementations of SavedGameDataStorer to the save system to save to different locations (PlayerPrefs, disk, cloud, etc.).
In the demo, the save system uses the PlayerPrefsSavedGameDataStorer implementation, which means it saves to PlayerPrefs. Open DemoScene1 and inspect the Dialogue Manager GameObject. Scroll down to the PlayerPrefs Saved Game Data Storer component and click the "Clear Saved Games" button.