Unity Databases

Hey guys, kinda new here :slight_smile:

I would like to ask for an opinion. Im trying to create a dialogue system via C# for game I’m working on. Since there is gonna be LOTS of text that appears in different points in the game from the NPCs I thought of mapping and using a database of some sort to store all that data. I read that Unity doesn’t exactly support database functionality by default so I’ll be extending that.

I would like to hear if there is a better alternative to databases to store all that data (I think XML would be pure overkill for so much text).

Also I may be aiming for Android release so SQL may be a bit heavy. Should I try SQLite ?

Looking forward to your answers!

If your aim is only dialogues, check this article. There is dialogue system based on ScriptableObjects.
If your game is not online and you don’t have a lot of data to save, you’ve better use PlayerPrefs to store floating data, and ScriptableObjects to store persistent data.
If you have Unity PRO, you also may check AssetBundles.
You may also save floating data to the custom text files using System.Xml.Serialization library.

All is up to you :wink: