Z
Z
Zimaell2020-05-19 15:40:02
Unity
Zimaell, 2020-05-19 15:40:02

How to store data in unity?

Tell me how to store data, for example, there is a game, for starters, data should be stored somewhere, where it is located, then reading this data, changing it during the game and saving it, the already changed data is loaded at the next start.
I still don’t know which way to dig and how it should be implemented, where it should be stored during the test and where it will already be stored on android, how it is read and how it is overwritten, I don’t even know where to start and what to google ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-05-19
@freeExec

Initially stored in assets ( ScriptableObject), and then, like all games, make a save file. Store files inApplication.persistentDataPath

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question