4 Ways to SAVE/LOAD data in Unity And their CONS and PROS (PlayerPrefs, BinaryFormatter, JSON, XML)

Опубликовано: 10 Октябрь 2019
на канале: Beaver Joe
7,348
177

4 formas de GUARDAR / CARGAR datos en Unity y sus CONS y PROS (PlayerPrefs, BinaryFormatter, JSON, XML)
(•̀ᴗ•́) و ̑̑ You can play this game Demo On my Itch: https://beaverjoe.itch.io/save-load-demo
(•̀ᴗ•́) و ̑̑ Hello everyone Welcome to my channel!

In the last few episodes, We have talked about how to SAVE and LOAD data by PlayerPrefs, Serialization (Binary Formatter), JSON and XML. In this episode, We will talk about their advantages and disadvantages and which one would be the better methods for your game.

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

※Keyword※
System.IO, System.Runtime, System.Xml, PlayerPrefs.GetInt / SetInt, BinaryFormatter class, FileStream Class, Serialization and Deserialization, JsonUtility.ToJson / FromJson, StreamWriter / StreamReader, XMLDocument, CreateElement, GetElementsByTagName, Int.Parse

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

★ This video was inspired by Unity Blog about how to SAVE and LOAD by Anthony Uccello: https://www.raywenderlich.com/418-how...

★ The project can download from my google drive: https://drive.google.com/file/d/1TMbD...

★ Github (includes Scripts & Sprites & ScreenShots-Tips): https://github.com/zheyuanzhou

★ SAVE and LOAD by PlayerPrefs Episode:    • How to SAVE and LOAD Data in Unity (T...  
★ SAVE and LOAD by Serialization(BinaryFormatter) Episode:    • SAVE and LOAD DATA with Serialization...  
★ SAVE and LOAD by JSON Episode:    • How to Save your Unity DATA with JSON...  
★ SAVE and LOAD by XML Episode:    • How to SAVE and LOAD XML Files DATA i...  

(•̀ᴗ•́) و ̑̑ Text Version of this tutorial: https://www.evernote.com/l/AhUUIKIxBS...

The preview video (First 30 seconds) comes from WatchMojo.com:    • Top 10 Video Game Save Points  

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

★ Timeline Of this tutorial ★
00:02 Introduction ※
00:50 Review Four Methods ※
15:15 Analysis Four Methods ※
18:53 Next and Thanks ※

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

★★★ Hopes SMASH likes and subs button. I very much appreciate your subscription. Next video We am going to talk about How to make one classical Win Effect in unity.

Have a nice Day/Night!

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