Open Rjb99 opened 3 years ago
will all need some common uniting system to store data
My suggestion is to create a struct or class that has the single purpose of storing all the data that is saved and loaded. We then mark it as serializable and save/load using the JsonSerializer from unity. Keeping it separate from the main player class makes this easier to know and manage what is saved and what is not.
This will be needed for implementing systems such as money, items.