Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for TextMeshPro paged overflow mode #34

Open
Yare-zz opened this issue Jun 16, 2020 · 1 comment
Open

Add support for TextMeshPro paged overflow mode #34

Yare-zz opened this issue Jun 16, 2020 · 1 comment

Comments

@Yare-zz
Copy link

Yare-zz commented Jun 16, 2020

Sometimes the text being typed is larger than the target area. Even when controlling for this in the content, translation/localization passes may have greatly extended text lengths.

It would be ideal for unity-text-typer to support the paged overflow mode in TMP, with something like a "Page Complete" event and a way to resume typing the next page.

https://docs.unity3d.com/Packages/com.unity.textmeshpro@2.0/api/TMPro.TMP_PageInfo.html

@edwardrowe
Copy link

Cool idea! I can see this as a valid use-case for sure.

That said, in Sparklite we split NPC dialog out into separate lines, trying to guarantee each fits on a page. This had the downsides that it wasn't optimal for translation (German might not fit, for example), or for the translator workflow (harder to translate 3 entries than one big block of text), and it was also a bit annoying to manage as assets. But the plus side was worth it to us, which was we had control over where in the dialog the pages would break.

If that's something you care about, you might want to consider doing something like that, too.

But yeah, this is still a valid use case I think, more for RPGs or something where there's lots of text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants