StripTextMeshProTags is not up to date with TextMeshPro Tags

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
lgarczyn
Posts: 30
Joined: Fri May 05, 2023 5:28 am

StripTextMeshProTags is not up to date with TextMeshPro Tags

Post by lgarczyn »

I'm trying to use

* the 'Pause/QuarterPause' tokens (\. and \,)
* the TextMeshPro <pos> tag

Trying to replicate the cool typewriter effect with vertical alignement from Ultrakill.

This doesn't work, since Tools.StripTextMeshProTags doesn't remove the <pos> tag, which causes misalignment of the desired pause effect.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: StripTextMeshProTags is not up to date with TextMeshPro Tags

Post by Tony Li »

Hi,

In this patch:

DS_TMProPatch_2024-04-16.unitypackage

I updated Tools.StripTextMeshProTags to strip <pos>, <cspace>, <mspace>, <noparse>, <style>, and <voffset>.
Post Reply