Simple Saving and Loading with PlayerPrefs (Unity Tutorial for Beginners)

preview_player
Показать описание
👍 Learn to make awesome games step-by-step from start to finish.
Learn the simplest way for Saving and Loading data in Unity

If you have any questions post them in the comments and I'll do my best to answer them.

See you next time!

#unity3d #tutorial #unity2d

--------------------------------------------------------------------

Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.

I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

--------------------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

🌐 Have you found the videos Helpful and Valuable?

CodeMonkeyUnity
Автор

Thanks for tutorial, but I cant understand some things: you used the interface, but didn't show, how to implement it's methods in this exact situation. I struggled to do it myself, but it didn't work out. So, please, can you explain how and where should I implement GetPosition, SetPosition, GetGoldAmount and SetGoldAmmount?

ScarTissue
Автор

Who doesn't love the monkey?!? Thanks, I needed the bit checking for the saved preference key.

nichegames
Автор

I was expecting a try catch block. This was so simple!

sashakaplan
Автор

Hi, I have two questions:
- does the saving and loading work on Android games?
- How would you store a list or array in playerprefs?

Thanks

joeym
Автор

Thank you Code Monkey! You helped me a lot!

LeeG
Автор

Would you say (in the case of Unity) it would be better to save in a local file or the registry?

valrossenOliver
Автор

We used this tutorial to make our first game "Rebound Out", just released on iOS and Android!

AndrewGieraltowski
Автор

You are awesome
Thanks a lot for the tutorials

Abhijeet
Автор

Thank you so much, this helped a lot! :)

Augmented_AI
Автор

You rock Sair. Thanks for Golden Content.

eniocc
Автор

Hi bro, you are making very use full videos

supersaiyan
Автор

Hi, just a quick question:

Still pretty new to Unity, if you repeatedly saved data such as locations and gold, could it start taking up space on a computer? Or does it overwrite the previous save with every new save? And if it does, is there a way to overwrite the previous save, or will it just keep making new saves?
Thanks!

owengold
Автор

Very nice video sir. shows good level in programming. 1 question here: does CMDebug make the text of player position move upwards or you configured that elsewere?

punixerz
Автор

a complete and perfect explanations, tnx

ashkannasirzadeh
Автор

yeah im late and using wrong account:D but does it work normally if i use ä or ö in the playerprefs name or the " " part where you put the name of the prefs?

stuurio
Автор

Its the simplest way, but PlayerPrefs saves to the rigistry, like the BinaryFormatter, its kinda a security risk... Other than that, its great!

ThatOneRobloxDev
Автор

Amazing tutorial.
I also have a save system playlist series.
It covers from player-pref to Firebase.
I am currently editing the video with NodeJS as the back-end server for saving data.
Any feedback on it will be really helpful.

Paanch_Tanmatra_Studio
Автор

hi there i have a problem
when i do all the steps you did for the first 1:37 my console says that i am missing a reference to instance of an object
is it possible to fix this somehow

davidnikolov
Автор

What do you add the GameObject to and all that, 3:02 Your skipping a very big step? I don;t understand how you say begginers but skip major steps, not to be rude.

Zukomazi
visit shbcf.ru