Exemplo n.º 1
0
    public void ProcessDialogue(DialogueGraph conversation, GameObject speaker)
    {
        if (!inDialogue)
        {
            Cursor.lockState = CursorLockMode.None;

            dialogueSource = speaker;
            graph          = conversation;
            graph.Restart();
            inDialogue = true;
            player.OnStartInteract();


            UpdateDialogue();
        }
    }
Exemplo n.º 2
0
 private void SetDialogueGraph(DialogueGraph dialogueGraph)
 {
     currentDialogueGraph = dialogueGraph;
     dialogueGraph.Restart(this, dialogueManager);
     GaugesDecisionMaker = new GaugesDecisionMaker(friendZonesController, dialogueGraph);
 }