S
S
StynuBlizz2020-09-06 14:49:15
Unity
StynuBlizz, 2020-09-06 14:49:15

How to save a file in unity for later use on ios/android?

I serialize the level data and store it in files that are stored inside the project. The question is how, after assembling the project for mobile phones, you can get these files and deserialize them

dataPath, persistentDataPath, streamingAssetsPath (I threw it into the StreamingAssets folder), I tried it, it does not find this data on ios. Maybe you need to add some more folders to the path?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2020-09-06
@StynuBlizz

Well, that's what StreamingAssets is for. Show code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question