Today, we will give overview of data storage in Unity3D. But before going into further discussion, let’s discuss about data storage itself.
What is Data Storage?
Data Storage is the holding of data in any form for later accessing it and using it. This tutorial is about data storage in Unity3D. Unity3D is powerful cross platform 3D game engine and user-friendly development environment. Easy enough for beginner and powerful enough for expert, Unity should interest anybody who wants to develop 3D games easily for web, mobile, desktop, and consoles. Data storage in Unity is to store game data such as scores, levels completed etc. for later use by player.
**What we need Data Storage in Unity?
While creating games in Unity, we often need to store the data such as progress of player, levels completed, current level, score of the user, stars earned in any level, and so on for the later access.
**How we can do it in Unity?
Unity offers various ways for data storage which differs for the type of data, size of data etc. For example, there is data which we want to only use for this session of game, or there is data which we want to only save in the device the game is running on, or there is data which we want to store for other devices as well, and so on. Depending on the data type, size of the data, and its persistent requirements whether only for single device or multiple devices, Unity uses different methods. Following are the methods which we will discuss in the other parts of this tutorial series “Data Storage in Unity”:
Thanks for the reading. In the next part, we will discuss about micro data storage using PlayerPrefs in Unity.