Saving Data in Unity, using "PlayerPrefs"

in #unity7 years ago

In order to save data in your Unity game, you can use "PlayerPrefs" to save and load.

This tutorial shows you a simple way to save and load data between scenes.
If you are new to Unity, this step by step guide will be the right video-tutorial for you!

You also can delete your saved "PlayerPrefs", if you want to get rid of them.

This tutorial shows you a simple way to delete the data you saved with "PlayerPrefs".

I will try to upload my tutorials to d.tube in the future, but at the moment i get a lot of errors trying to do it.

Sort:  

Careful with this. PlayerPrefs are meant to be used as Preferences, it's in the name. If you need to store anything complicated, do not use PlayerPrefs.

If you watched it, instead of commenting, you would notice, that its mentioned in the tutorial ;)

Well since I know how to use playerprefs, I didn't really feel like watching a tutorial :)

Most people watching my tutorials are at the very beginning, so learning how to use "PlayerPrefs" to save some variables is a good way to start.

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.030
BTC 63277.21
ETH 2487.51
USDT 1.00
SBD 2.71