- Home /
Question by
rmib200 · Mar 13, 2018 at 04:29 PM ·
serializationsave datasave-to-file
Saving data to export it later
I'm trying to save data from different scenes serializing them, using lists inside a class "saveToJson" to eventually save a csv file, so I create a instance of that class in every scene and append the data to the lists but every time I save, the previous data is replaced so when I print my csv only the data from the last level saved is shown, how can I append data to the list and not replaced it every time?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612154522im_/https://answers.unity.com/themes/thub/images/avi.jpg)