Esempio n. 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();
     }
 }
Esempio n. 2
0
        //---------------------------------------------------------------------
        // Dialog Handling Functions
        //---------------------------------------------------------------------

        #endregion

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