Ejemplo n.º 1
0
    public void Interact()
    {
        if (!dialogController.DialogIsRunning())
        {
            dialogController.CreateDialogBox(dialoBoxPos);
            interactWithPlayer = true;
            string text = GetText();

            if (text != null)
            {
                dialogController.AddText(text);
            }
        }
    }