예제 #1
0
        /// <summary>
        /// Creates the nodes and gameobjects neccessary to add a new dialog in the game
        /// </summary>
        public void ApplyDialog()
        {
            db.Load(SelectedFile);

            // Delete old dialogue data if it exists.
            DeleteDialogueData();

            // Add new dialogue data
            CreateDialogueData();

            LoadedDialogue = true;
        }