Unity 5 Tutorial: Save & Load Data C# - The more secure way
In this unity tutorial video i want to show you how to store and load data in a binary file. This is a saver and faster way than using playerprefs. ▼▼▼ More Infos here: Check em out! ▼▼▼ ATTENTION!!! This does NOT work for WEB! But everywhere else it should. Overview: About this Tutorial: 00:00 The script basics: 02:43 Prepare my other scripts: 05:33 Make moneyScript persistent(static): 05:58 Scripting the Save Function: 13:31 Scripting the Load Function: 24:28 What kinds are serializable: 30:08 The connection to Buttons: 32:39 Where does it save?: 37:06 If you want to delete your savegame write this also in the SaveLoad script and add it to your delete button: -------------------------------------------------------------------------------------------------- public void Delete() { if(File.Exists(Application.persistentDataPath + "/saveFile.octo")) { File.Delete(Application.persistentDataPath + "/saveFile.octo"); } } My Udemy Courses (up to 90% Discount) ➤ Galaga 3D : http://bit.ly/2IZQhrs ➤ Mastermind 2D : http://bit.ly/2CRoQf6 ➤ Ear money with Unity : http://bit.ly/2OZ9Akn ➤ Whack a Mole 3D : http://bit.ly/2BBxMb5 ➤ Asteroids 3D : http://bit.ly/2LgdEj4 ➤ PacMan 3D : http://bit.ly/2tHZBrQ ➤ Memory 2D : http://bit.ly/2EPZw8J ➤ Inkscape NewB to Pro: http://bit.ly/2UC4qxr ➤ My Unity Assets: http://bit.ly/2E34Yqz ➤ My Webshop: https://www.octomangames.com/shop ➤ My Asset on CubeBrush: https://cubebrush.co/octoman ➤ Me on Sketchfab: https://sketchfab.com/octoman ➤ Me on CgTrader: https://www.cgtrader.com/xoctomanx Support me: ➤ Support me on Patreon: https://goo.gl/bxyM4Z ➤ Want to use Patreon too? https://goo.gl/zkDJrg ➤ Donate with PayPal: https://goo.gl/dGcSCV Social Media: ➤ Twitter: http://twitter.com/mr_octoman ➤ Facebook: https://www.facebook.com/profile.php?id=100010598523392 ➤ My Website: https://www.octomangames.com ➤ My Website Hoster: http://goo.gl/vWyQiz DISCLAIMER: All content shown in this video is made by myself. This does not include software i use. Youtube / Google is allowed to show & promote my content worldwide. Because of european article 13 now 17 i write this disclaimer here.
Download
0 formatsNo download links available.