Security in Unity

Hello guys, I am making a game that needs data to be stored in a txt or an XML file. So if I store all those files in my Assets/Resources Folder. Can People access these files and change the values when the game is released?

If you do not encrypt the data: Yes. They Can modify a .txt or.xml file. In order to prevent them from editing it, you need to save your file as something like binary files. For that, you can use Unity’s BinaryFormatter. In order to use that correctly, you’ll need to learn how to serialize data.
Refer to the Unity Manual (https://docs.unity3d.com/Manual/script-Serialization-Custom.html) for that, or watch some youtube videos ^^
Hope that helps :slight_smile: