Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     dialog = GetComponent <DialogGraph>();
     if (dialog != null)
     {
         var manager = CutsceneDialogManager.Instance;
         manager.SetCurrentDialog(dialog);
         manager.SetNextScene(nextScene);
         manager.StartDialog();
     }
 }
Example #2
0
        //---------------------------------------------------------------------
        // Dialog Handling Functions
        //---------------------------------------------------------------------

        #endregion

        #region Getters / Setters
        public void SetCurrentDialog(DialogGraph dialog)
        {
            manager.SetCurrentDialog(dialog);
        }
Example #3
0
 public void SetCurrentDialog(DialogGraph dialog)
 {
     currentDialog = dialog;
 }