- Home /
Write a binary file (save game data)
Hello everyone, I've been looking on how to save/load data and the most common answers are either PlayerPrefs or Unity Serializer, which i prefer to not use any of them, PlayerPrefs is too limited and Unity Serializer is cool but kind of more than i need now, plus i really want to understand how to do such thing .
so my question is simply this : How can i wrote any sort of data from a specific class and save it to a file (i said binary cause i don't want the users to be able to modify content of a text file)
PS : i said "any" cause i want to know if is it possible to save an arrayList or even a class in that file and being able to retrieve it of course .
thank you very much
Your answer
![](https://koobas.hobune.stream/wayback/20220613120937im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Load Text File From Remote Source 0 Answers
Where to save.xmls to be reponed later in compiled game. 1 Answer
Saving/Load using menu C# 1 Answer
Loading a list into unity 0 Answers
PlayerPrefs 2 Answers