How to save Unity data across sessions with PlayerPrefs

preview_player
Показать описание
In this 15 second Unity tutorial, you'll learn how to save Unity data across play sessions using the built-in PlayerPrefs system.

► Socials

For more educational content on video game development, unity tutorials, and c# programming don't forget to subscribe!

****
****

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

One thing about this is that it is a quick easy solution, not the best. I would say it would be good for remembering menu settings, other than that, I recommend saving data by making a file to save data to. You probably already know this, but this is for others to see to let them know there is a better way to do it. Great Videos btw!!

alexanderdorenkamp
Автор

oh boi you've become my favourite unity tutorial channel! oh also, may I know which editing software you use?

yeppiidev
Автор

When i read the docs and learned about this i was screaming. Its so convenient

amadddd
Автор

Thank you so much i am in a game jam right now and i need to save data

Christopher-krd
Автор

PlayerPrefs is saved in the system REGISTRY. It's very bad practice to use this method for any game save state.

deathpunkingaming
Автор

It is cool but i have problem with saving incremented int for every level up. Nothing from this works...

bakistudio
Автор

It's actual bad practice save data with PlayerPrefs. This is ment to be used just while in the editor.

drghs
Автор

i have no idea why youtube keeps spamming me recommendations of your channel, but its honestly getting annoying.
i currently have no plans to work with unity or any other gameengine whatsoever so if youtube could stop that would be nice.
i wont forget this channel if i ever need it, but currently i dont :)

Kaitri