- Home /
Get Overflow Text
I am making a book reading mechanic. The text for current book is found and loaded in from a json file. My issue is splitting the text across multiple pages. Based on cachedTextGenerator.lineCount a single book page can display 26 lines at a time. What I am unsure how to do is get the overflow text on lines 27 onward.
Perhaps this will help? https://answers.unity.com/questions/895018/detect-text-box-overflow.html
I read it however had trouble understanding. $$anonymous$$y brain is just refusing to think right now haha
Answer by bluejelly · Apr 08, 2018 at 05:26 AM
I solved my problem, per se. TextMesh Pro has functionality to split text out across "pages." I have been able to work around my problem using this.
Answer by tormentoarmagedoom · Apr 07, 2018 at 08:41 PM
Good day.
You should take a look at Unity TextGenerator Api Page.
I've never had to solve a problem like this, so i dont know the answer, but I'm sure if you explore a little, will get a solution :D
Remember to Close the Question and accept(or not) an answer when the issue is finished by your side (or if you didnt get a solution)!
Byeee!