Uploaded October 2019 | Updated November 2026, 3 hours ago
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: 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: raywenderlich.com/418-how-to-save-and-load-a-game-in-unity
★ The project can download from my google drive: drive.google.com/file/d/1TMbD4bKJWX-2Et1pbTy97nn7ojvGRwth/view?usp=sharing
★ Github (includes Scripts & Sprites & ScreenShots-Tips): github.com/zheyuanzhou
★ SAVE and LOAD by PlayerPrefs Episode: youtube.com/watch?v=8Q9prb7PH9g&t=0s
★ SAVE and LOAD by Serialization(BinaryFormatter) Episode: youtube.com/watch?v=-bWpH8iXIt8
★ SAVE and LOAD by JSON Episode: youtube.com/watch?v=XnFklHTzIbk&t=1s
★ SAVE and LOAD by XML Episode: youtube.com/watch?v=q878MDiaSVg&t=1s
(•̀ᴗ•́) و ̑̑ Text Version of this tutorial: evernote.com/l/AhUUIKIxBStHd4QTDHnVzNZal0Zo85qBvPE
The preview video (First 30 seconds) comes from WatchMojo.com: youtube.com/watch?v=12oMN8bJ-qA
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
★ 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!
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
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: 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: raywenderlich.com/418-how-to-save-and-load-a-game-in-unity
★ The project can download from my google drive: drive.google.com/file/d/1TMbD4bKJWX-2Et1pbTy97nn7ojvGRwth/view?usp=sharing
★ Github (includes Scripts & Sprites & ScreenShots-Tips): github.com/zheyuanzhou
★ SAVE and LOAD by PlayerPrefs Episode: youtube.com/watch?v=8Q9prb7PH9g&t=0s
★ SAVE and LOAD by Serialization(BinaryFormatter) Episode: youtube.com/watch?v=-bWpH8iXIt8
★ SAVE and LOAD by JSON Episode: youtube.com/watch?v=XnFklHTzIbk&t=1s
★ SAVE and LOAD by XML Episode: youtube.com/watch?v=q878MDiaSVg&t=1s
(•̀ᴗ•́) و ̑̑ Text Version of this tutorial: evernote.com/l/AhUUIKIxBStHd4QTDHnVzNZal0Zo85qBvPE
The preview video (First 30 seconds) comes from WatchMojo.com: youtube.com/watch?v=12oMN8bJ-qA
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
★ 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!
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓


![Display cards on INITIAL stage [1/2]
(•̀ᴗ•́) و ̑̑ Hello everyone Welcome to my channel.
In this video, We will have a look How to Display cards on the initial stage including randomizes which player go first at the start of each match. The first player is then shown 3 random cards, but four cards for the player going second. Also, in this case, we will use several UI cards.
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
(•̀ᴗ•́) و ̑̑ (•̀ᴗ•́) و ̑̑ For a better experience, I have divided this video into two parts. Each episode will be 100% connected with each other.
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
※Keyword※
Odd and even, Array, List, Add, Remove, World Space UI, SetParent, Snap setting, Singleton Pattern, Modulus operator, Count, Length, Execution Order, Function Passing Parameter, Random.Range, for loop
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
Display Cards on initial stage [2/2]: https://www.youtube.com/watch?v=ZaQUmInZ0nU
How to create Cards By UI: https://www.youtube.com/watch?v MSxWZ4b95I&t=1s
(•̀ᴗ•́) و ̑̑ Text Version of this tutorial: https://www.evernote.com/shard/s533/sh/22879beb-8585-4342-8e87-5d5c8003f83a/6a9828df588d80b6f2307342b20cb05a
Resources can be downloaded from my GitHub or just download the Project: https://github.com/zheyuanzhou
Starting project (Contains Ui cards): https://drive.google.com/file/d/1v8mtEVGMCtwMuImae1XqRx-HCBwdYrLG/view?usp=sharing
Completed project: https://drive.google.com/file/d/15Ibcf-W9llOZDZhaqVxTz2Kh3YR7VrSC/view?usp=sharing
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
★ Timeline Of this tutorial ★
00:03 Introduction ※
00:33 Start ※
03:51 C#: PositionManager.cs ※
08:23 Display UI cards on fixed positions ※
10:06 GameManager.cs ※
12:45 Completed Randomizes player/enemy movement order※
14:46 Completed Each player received cards number in console window ※
15:10 Episode link ※
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
★★★ Hopes SMASH likes and subs button. Very appreciate for your subscription.
★★★ To be continue~
Have a nice Day/Night!
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓 Display cards on INITIAL stage [1/2]](https://i.ytimg.com/vi/zYeFokaqP4g/mqdefault.jpg)
