private bool SayNextLine() { if (nextLine == null){ Debug.Log("============================= NPC Dialogue is over ========================================="); EndDialogue(); return true; } if (currentSpeaker != null){ currentSpeaker.InterruptLine(); } currentLine = nextLine; currentSpeaker = nextSpeaker; nextLine = null; nextSpeaker = null; //Debug.Log(currentSpeaker.GetActor().name + " says: " + currentLine.GetText().Replace("\n", "\\n")); bool npcNpcDialogue=false; if (pc == null) { npcNpcDialogue=true; } currentSpeaker.SayLine(npcNpcDialogue); firstLineSaid = true; currentLine.PerformConsequence(this, currentSpeaker.GetActor()); if (pc != null){ MoveCamera(); } return false; }