Realm is a mobile database that runs directly on phones, tablets or wearables.
The Realm .NET SDK also added Unity3D support in July 2021.
In this reposity we show you examples of how you can use Realm to enhance your games created in Unity3D.
This tutorial shows how to use local and synced Realms to add persistence to your games. It's a fully functional, multi player game and the tutorial will walk you through the whole process from creating a new Unity3D project to the final, playable product:
- The first part shows the local Realm.
- In the second part we then look at how to turn the local Realm into a synced Realm to connect to other players.
In this tutorial series we will explore the options given to us by Unity and third party libraries. Each part will take a deeper look into one of them with the final part being a comparison:
- Part 1: PlayerPrefs
- Part 2: Files
- Part 3: BinaryReader and BinaryWriter (coming soon)
- Part 4: SQL
- Part 5: Realm Unity SDK
- Part 6: Comparison of all those options
They can all be found as one combined project on the persistence-comparison branch in this repository.