Пример #1
0
    public void getButtonPressed(int i)
    {
        lastButton = i;
        string responseSelected = currentResponses[i];

        //print("pressing button " + i);
        //print(responseSelected);
        print(findNode(responseSelected).ToString());
        dialogueNode node = findNode(responseSelected);

        currentSpeaker   = node.getSpeaker();
        currentText      = node.getText();
        currentResponses = node.getResponses().ToList();
        updateScreen();
    }