Ejemplo n.º 1
0
    public void ToDialog(StalkerBehaviour with)
    {
        if (with.to_save_data.dialog.Length > 0)
        {
            bool hasData = true;
            switch (with.to_save_data.dialog)
            {
            case "Osobist3":
                currentDialogSystem = DialogSystem.osobist3;
                break;

            default:
                hasData = false;
                break;
            }

            if (hasData)
            {
                currentDialogSystem.StartDialog();
                currentDialogSystem.SetNodeCorner(currentDialogSystem.currentNode, dialogButtonsParent, actor, with, dialogScrollSys);
            }
        }
    }