/// <summary> /// Resets the Dialogue Bubble and sets new text for it. /// </summary> /// <param name="text">A string containing the text for the Dialogue Bubble to parse and print.</param> public void SetText(string text) { Reset(); Text = text; DBubbleData = DialogueGlobals.ParseText(Text, out Text); }
/// <summary> /// Resets the Dialogue Bubble and sets new text for it. /// </summary> /// <param name="text">A string containing the text for the Dialogue Bubble to parse and print.</param> public void SetText(string text) { Reset(); Text = text; DBubbleData = DialogueGlobals.ParseText(Text, out Text); if (CharPrintTimes == null || (CharPrintTimes != null && CharPrintTimes.Length != Text.Length)) { CharPrintTimes = new double[Text.Length]; } }