- Home /
Question by
jjasl777222 · Feb 06 at 09:42 PM ·
c#text mesh
How to make text mesh pro switch between pages
So I have a tmp text box and the overflow is set to page. I have a script attached that does this typewrite animation of sorts that types a letter after a duration until it types the full string. I was wondering if there was a way to get it to automatically switch the page number when the text overflows.
I already tried this:
if (RedhoodText.isTextOverflowing )
{
RedhoodText.pageToDisplay += 1;
}
The problem with this was that when it switched pages, the bool isTextOverflowing was still true, meaning that it would just keep increasing the page number.
Comment