예제 #1
0
    void Talk(){
        if (available[index])
        {
            // Deactivate current character
            available[index] = false;
            images.GetChild(index).GetComponent<Image>().color = Color.grey;

            // Switch to dialogue screen
            screen.ShowDialogue();
            screen.HideSelection();
            dialogue.parseAndDisplay(convos[index]);
        }
    }