void Generate()
 {
     if (m_richText)
     {
         m_richText.SetSyntaxText(m_richSyntax);
     }
 }
 void Generate()
 {
     if (m_richText)
     {
         m_richText.SetSyntaxText(m_richSyntax);
         if (m_widget)
         {
             NGUIRichTextUtil.AdjustDepth(m_richText.gameObject, m_widget.depth);
         }
     }
 }