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

        #endregion

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