This is Part 48 of Make a Game Like Pokemon Series in Unity. In this video, we'll look at how to persist data between scenes. So before a scene is unloaded, we'll store all it states, and we'll restore it when it's loaded again.
Get the complete project files of the series by becoming a supporter on Patreon
/ complete-project-39632268
Script files for each part of this series (You can use this to compare with your scripts and find any mistakes)
/ script-files-for-38708232
Download the art assets needed to follow along with this series
https://github.com/GameDevExperiments...
0:00 - Intro
0:46 - Explaining issue where scene loses its states when unloaded
2:56 - Saving the states of a scene before unloading it
14:45 - Fixing issue where previous scene is not unloaded
If you like this series, consider subscribing to the channel and leave a like on the video to help this channel grow.
Watch video Make A Game Like Pokemon in Unity | #48 - Persisting Scene States online without registration, duration online in high quality. This video was added by user Game Dev Experiments 15 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,078 once and liked it 213 people.