STOP USING PlayerPrefs to Save Data in Unity!
In this Tutorial, we're going to be discussing why using PlayerPrefs to save data in Unity is a BAD IDEA! Stop it! What are you doing?! This is BAD! Please for the love of God just stop using them for data!
== WRITTEN TUTORIAL ==
Blogpost: https://url.kaupenjoe.net/yt9/blogpost
== ASSETS & DOWNLOAD LINKS ==
GitHub Repo: https://github.com/Tutorials-By-Kaupenjoe/SavingAndLoadingData
All Files as gists: https://url.kaupenjoe.net/yt9/gist
All Assets zipped: https://url.kaupenjoe.net/yt9/assets
Unity Package: https://url.kaupenjoe.net/yt9/package
Article on String Interpolation: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated
== TIMESTAMPS ==
0:00 Intro
0:10 Overview
0:33 Making Data to Save
2:34 Saving Data with PlayerPrefs
3:36 Creating a SaveData Method
4:43 Creating a LoadData Method
5:51 Adding some Input
6:09 Seeing if it worked!
6:34 The Issues with PlayerPrefs
8:00 Easy alternative to PlayerPrefs?
8:22 Outro
== TAKE A LOOK AT MY COURSES WITH COUPON CODES ==
▶️ Learn Forge Modding with Minecraft 1.18:
https://url.kaupenjoe.net/CourseForge118 *
▶️ Learn Fabric Modding with Minecraft 1.18:
https://url.kaupenjoe.net/CourseFabric118 *
▶️ Unity 2D Game Development: Beginner Unity C# in Unity 2020.3: https://url.kaupenjoe.net/UnityENCoupon *
▶️ Minecraft Modding for beginners (1.16):
https://url.kaupenjoe.net/MCCoupon *
▶️ Complete and Roblox Lua Game Development:
https://url.kaupenjoe.net/RobloxCoupon *
== 1 MONTH SKILLSHARE FOR FREE ==
▶️ https://www.skillshare.com/r/user/kaupenjoe *
== SUPPORT ME ON PATREON ==
▶️ https://url.kaupenjoe.net/patreon
== SOCIALS ==
Discord: https://url.kaupenjoe.net/discord
Personal Twitter: https://twitter.com/Kaupenjoe
Instagram: https://url.kaupenjoe.net/tutorials/instagram
Facebook: https://url.kaupenjoe.net/tutorials/facebook
Twitter: https://url.kaupenjoe.net/tutorials/twitter
TikTok: https://url.kaupenjoe.net/tutorials/tiktok
Written Tutorials: https://url.kaupenjoe.net/tutorials/blog
== LICENSE ==
Source Code is distributed under the MIT License.
== ADDITIONAL CREDITS ==
Floppy Disk in the Thumbnail by https://www.flaticon.com/authors/those-icons from https://www.flaticon.com
Outro Musik by Kevin MacLeod:
"That's a Wrap" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
http://creativecommons.org/licenses/by/3.0
== AMAZON AFFILIATE LINKS ==
Amazon Referral [US]: https://url.kaupenjoe.net/amazonref/us *
Amazon Referral [UK]: https://url.kaupenjoe.net/amazonref/uk *
Amazon Referral [DE]: https://url.kaupenjoe.net/amazonref/de *
== AFFILIATE DISCLAIMER ==
* Some of the links and other products that appear in the video description are from companies which I will earn an affiliate commission or referral bonus from or are my own products. This means that if you click on one of the product links, I’ll receive a small commission or additional kickback without any additional cost for you. This helps support the channel and allows me to continue to make videos. Thank you for the support!
== HASHTAGS ==
#UnityTutorial #Unity #GameDevelopment #Kaupenjoe