Change Unity Scenes, Keep Data

Have you been struggling to find a nice way to share some data between your Unity scenes? Using Scriptable Objects, you can have data persist between scene changes. But, there are a few important things to take into account, so stick around until the end. Note: This isn't a replacement for saving data to a file. This data will only survive in memory and won't be permanently saved. #Unity #Unity2D #gamedev Chapters 00:00 Intro 00:12 Let's start! 00:25 Create a scriptable object 02:55 Use the scriptable object 04:00 Save to the scriptable object 06:30 Use the saved data to update the scene 08:00 Potential bug: not setting defaults 08:22 How to set default values 09:27 Conclusion Shop šŸ’µ Budget Planner: https://restfulcoder.etsy.com/listing... Social šŸŒ Website: https://restfulcoder.com/ šŸ’¬ Discord: Ā Ā /Ā discordĀ Ā  šŸ“· Instagram: Ā Ā /Ā restfulcoderĀ Ā  🐦Twitter: Ā Ā /Ā restfulcoderĀ Ā  šŸ“± Tiktok: Ā Ā /Ā restfulcoderĀ Ā