- Home /
database android unity
Hello. What is the best way to create a database in unity? I need to, upload, delete, insert, save a lot of data (I have not tried to use player prefs, because many data)
I work in android and script in java.
thank you very much.
Answer by Benproductions1 · Sep 17, 2013 at 11:36 PM
Hello,
Client side applications don't ever use databases. They are way too advanced, complicated and excessive. Especially if you are using Android as a platform
The best solution is usually to use System.IO
and save text or byte data as files. It's quite easy to do and the FileStreamer
allows you to do it asynchronously without much of a performance impact. There are plenty of tutorials out there on how to save files etc.
Hope this helps,
Benproductions1
it would be nice if people would start using google ins$$anonymous$$d of asking such questions
You are right. But I've been very many days trying to find about this. Because I need to save some 100 variables in android, and I'm having a lot of trouble for this. Thanks anyway
If I answered your question you should accept it :)
If you don't know how, watch the tutorial video on the right
ok, just one more thing, you refer to your response to this? http://wiki.unity3d.com/index.php?title=Save_and_Load_from_X$$anonymous$$L