Unity Dialogue System - Preparing the Save Data

Published: 13 September 2021
on channel: Indie Wafflus
3,764
61

In this video we're going to talk about how are we going to structure our files and folders when saving as well as create the necessary classes that will allow us to both save and load our Graph and allow us to do our Custom Inspector and Game Dialogues.

________________________________________________________

Timestamps:

00:00 Introduction
00:09 Structure
02:45 Creating the Editor Part
03:14 Creating the "DSNodeSaveData" Script
03:34 Updating the "DSNodeSaveData" Script
06:27 Creating the "DSChoiceSaveData" Script
06:54 Updating the "DSChoiceSaveData" Script
07:44 Updating the "DSNode" to contain an ID
08:42 Updating the "DSGroup" to contain an ID
09:06 Creating the "DSGroupSaveData" Script
09:29 Updating the "DSGroupSaveData" Script
10:38 Creating the "DSGraphSaveData" Script
10:56 Updating the "DSGraphSaveData" Script
15:09 Creating the Runtime Part
15:44 Creating the "DSDialogueSO" Script
16:14 Updating the "DSDialogueSO" Script
19:45 Creating the "DSDialogueChoiceData" Script
20:12 Updating the "DSDialogueChoiceData" Script
21:28 Creating the "DSDialogueGroupSO" Script
21:41 Updating the "DSDialogueGroupSO" Script
22:24 Creating the "DSDialogueContainerSO" Script
22:52 Updating the "DSDialogueContainerSO" Script

________________________________________________________

Useful links:

● Final Code (GitHub): https://github.com/Wafflus/unity-dial...
● SerializableDictionary (Pastebin): https://pastebin.com/zsy1tNRb
● GraphView (Unity Documentation): https://docs.unity3d.com/ScriptRefere...
● Serializable (Unity Documentation): https://docs.unity3d.com/ScriptRefere...
● SerializeField (Unity Documentation): https://docs.unity3d.com/ScriptRefere...
● When to use SerializeField? (Unity Forum): https://forum.unity.com/threads/when-...
● "Guid" Struct (C# Documentation): https://docs.microsoft.com/en-us/dotn...
● "NewGuid" Method (C# Documentation): https://docs.microsoft.com/en-us/dotn...
● "ToString" Method (C# Documentation): https://docs.microsoft.com/en-us/dotn...
● Dialogue System (Playlist):    • Unity Dialogue System - Overview  
● Requirements (Playlist Video):    • Unity Dialogue System - Requirements  

________________________________________________________

● Subscribe:    / @indiewafflus  

● Follow me on Twitter:   / indiewafflus  

________________________________________________________


On this page of the site you can watch the video online Unity Dialogue System - Preparing the Save Data with a duration of hours minute second in good quality, which was uploaded by the user Indie Wafflus 13 September 2021, share the link with friends and acquaintances, this video has already been watched 3,764 times on youtube and it was liked by 61 viewers. Enjoy your viewing!