public void Send()
 {
     if (dq.Count == 0)
     {
         DialogPanel.SetActive(false);
         OptionsContainer.SetActive(isOptionsType);
         inDialog = DialogPanel.activeInHierarchy; //false, in other words
         if (isOptionsType)
         {
             OptionsContainer.SetActive(true);
             for (var i = 0; i < OptionButtons.Length; i++)
             {
                 OptionButtons[i].SetActive(true);
             }
         }
         return;
     }
     else
     {
         DialogBase.DFrame current = dq.Dequeue();
         DName.text        = current.name;
         DText.text        = current.text;
         DFaceplate.sprite = current.faceplate;
         StartCoroutine(Scroll(current));
     }
 }
    IEnumerator Scroll(DialogBase.DFrame frame)
    {
        ClearData();
        ToPrint = frame.text;
        for (int i = 0; i < ToPrint.Length; i++)
        {
            var j = ToPrint[i];
            yield return(new WaitForSeconds(delay));

            IsRichText = (j == '<');
            if (IsRichText)   //begin text formatting
            {
                RegionIndex = 0;
                RichTextParser.ParseText(frame.text);
                if (RegionIndex < RegionBuffer)
                {
                    builder.Append(StartTag + j + EndTag);
                }
                else
                {
                    IsRichText = false;
                }
            }
            else
            {
                builder.Append(ToPrint[i]);
            }
            DText.text = builder.ToString();
        }
    }