Forum begins after the advertisement:
See discounted assets
Home › Forums › Video Game Tutorial Series › Creating a Rogue-like Shoot-em Up in Unity › [Part 12] Using Json for saving
If you are using JSON, you do not need to create an ItemSlotSaveData class, nor do you need to deserialize the data from the Binary formatter.
Simply do loadedSave = JsonUtility.FromJson<GameSaveState>(json) directly.
loadedSave = JsonUtility.FromJson<GameSaveState>(json)
Go to Login Page →
Advertisement below: