Advertisement

How to SAVE and LOAD Data in Unity (The PROS and CONS of PlayerPrefs)

How to SAVE and LOAD Data in Unity (The PROS and CONS of PlayerPrefs) Cómo guardar y cargar datos en Unity (los pros y los contras de PlayerPrefs)

(•̀ᴗ•́) و ̑̑ Hello everyone Welcome to my channel.

In this week, I am going to make one short series about How to save and load games in Unity. I will introduce four methods to achieve: PlayerPrefs, Serialization, JSON and XML. In this episode, We are going to talk about the first one. PlayerPrefs is good at saving single variable. (If you want to save entire data from the game, PlayerPrefs is not what I recommend)

〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓

※Keyword※

Singleton Pattern, Caching System, PlayerPrefs.SetInt, PlayerPrefs.GetInt, PlayerPrefs.DeleteAll, Serialization, JSON, XML

〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
★ Unity Blog about how to SAVE and LOAD by Anthony Uccello:

★ Starting Project can download from my google drive:

★ Completed Project can download from my google drive:

★ Github (includes Scripts & Sprites & ScreenShots-Tips):

(•̀ᴗ•́) و ̑̑ Text Version of this tutorial:

〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓

★ Timeline Of this tutorial ★
00:02 Introduction ※
01:36 Start ※
02:26 Create UI Toggle (music Switch) ※
03:46 Singleton Pattern ※
05:58 Display Coins and Diamonds ※
07:50 Add BGM Source ※
08:56 PlayerPrefs ※
11:36 Completed Step 1 ※
12:52 Save & Load Button ※
14:47 Save and Load Player’s Position
16:33 Cons and Pros of PlayerPrefs
17:15 Next Topic: Serialization (Binary)

〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓

★★★ Hopes SMASH likes and subs button. Very appreciate for your subscription. Next video We am going to talk about Serialization.

Have a nice Day/Night!

〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓

playerprefs,playerprefs unity tutorial,playerprefs save unity,easy save,unity laod data,unity save data,unity3D Serialize,unity serialize,unity save tutorial,unity save load,saving loading unity,unity save,unity playerPrefs,Unity3D PlayerPrefs,unity save player preferences,How to save game data in unity,How to save unity,Save your data in unity,unity save and load tutorial,unity load and save,unity save and load,advanced saving,main menu,

Post a Comment

0 Comments