Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

not working mask.

A topic by excellency created Dec 18, 2021 Views: 160 Replies: 3
Viewing posts 1 to 4

i'm using in UI Mode and changing text in runtime.

the Mask Component is work well first time changed text in playing.

but, the Mask is not work after that.

how can i do to work the Mask?

and, 

the STM is don't work the "read" method in setting the automatically read toggle is false.

can you make to work that in next update?

Developer

Hello,

Can you please send me a screenshot of the entire unity editor with your Super Text Mesh object selected? The way UI  masks work in unity is dependant on the order of the hierarchy, so I want to look at that.

And hmm, I went through all the code and I found one point where autoRead might be getting called where it shouldn't. In the OnFontTextureRebuilt() method, there's a line that looks like:

Rebuild(currentReadTime, currentReadTime > 0f ? true : autoRead);

If that's changed to...

Rebuild(currentReadTime, reading ? true : autoRead);

Then I think that should solve it. There could be another point in the code I'm missing though, so if the issue persists, please tell me and I'll track it down!

hi, i'm late.. :(

it is unusual..

in editor, the mask only work first time.

but, in build version, the mask work correctly. 

it seem to so unusual...

thanks

Developer

Please send me a screenshot of the entire Unity editor with the Super Text Mesh object selected, and then a screenshot of how it's looking in-game. I won't be able to help without this information.