private float GetTextWidth(UnityEngine.UI.Text label, string message)
 {
     if (this._label.get_supportRichText())
     {
         message = Regex.Replace(message, Hyphenation.RichTextReplace, string.Empty);
     }
     label.set_text(message);
     return(label.get_preferredWidth());
 }