public void ProcessDialogue(DialogueGraph conversation, GameObject speaker) { if (!inDialogue) { Cursor.lockState = CursorLockMode.None; dialogueSource = speaker; graph = conversation; graph.Restart(); inDialogue = true; player.OnStartInteract(); UpdateDialogue(); } }
private void SetDialogueGraph(DialogueGraph dialogueGraph) { currentDialogueGraph = dialogueGraph; dialogueGraph.Restart(this, dialogueManager); GaugesDecisionMaker = new GaugesDecisionMaker(friendZonesController, dialogueGraph); }