public void DisplayDialoguePanel(Dialogue dialogue)
 {
     //dialogue.position == 0 mean the character is on the left side.
     if (dialogue.position == 0)
     {
         animator.SetLeftPanelOpen(true);
         leftPanel.DisplayDialogue(dialogue);
         rightPanel.GreyOutPanel();
     }
     else
     {
         animator.SetRightPanelOpen(true);
         rightPanel.DisplayDialogue(dialogue);
         leftPanel.GreyOutPanel();
     }
 }