Exemplo n.º 1
0
    public void LoadDialog(EntityDialog entityDialog)
    {
        dialogsList.Clear();
        DialogPrefab nextDialog = entityDialog.startDialog;

        while (nextDialog != null)
        {
            dialogsList.Add(nextDialog);
            nextDialog = nextDialog.nextDialog;
        }
    }
Exemplo n.º 2
0
            public async Task <string> Display(Transform parent)
            {
                var result = await DialogPrefab.Display(parent, VariableOptions, VariableOptionLabels);

                return(result);
            }