In this video I will show you 2 methods: PlayerPrefs and ScriptableObject solution to persist data between scenes in Unity.
First we will see how we can use the most basic way using PlayerPrefs and later we will explore how ScriptableObjects can help us to store the data between scenes without saving it to the Hard drive on your machine - which is especially helpful when building your game for WebGL.
Learn to make 2d games in Unity:
[ Ссылка ]
Unity 2017 scriptable Objects talk:
[ Ссылка ]
Join the discord:
[ Ссылка ]
You can support me through Patreon:
[ Ссылка ]
00:00 Intro
00:25 Using PlayerPrefs
03:04 ScriptableObject solution
08:51 Benefits of SO solution
09:28 Learn how to make 2D games in unity
#unity #scriptableobjects #playerprefs
How to save data between Scenes in Unity
Теги
How to save data between Scenes in Unityunity playerprefsunity scriptable objectsunity persist data between scenesunity save data between sceneshow to save score in unityhow to keep data between scenes unitykeep score between scenes unityunity saving dataunity tutorial saving dataunity tutorial persisting dataunity tutorial saving score