private bool IsNextWordFits(string nextWord)
{
bool nextWordOk = true;
if (m_TextBounds != null && m_Text != null)
{
string oldText = m_Text.text;
m_Text.text += nextWord;
if (m_Text.renderer.bounds.max.x > (m_TextBounds.bounds.max.x - m_TextPadding.x))
{
nextWordOk = false;
}
m_Text.text = oldText;
}
return nextWordOk;
}