Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey Kai - thanks man. Also been watching the YT videos you have linked on the Asset store page, and I wondered if I might try forego a lot of Canvas UI's stuff and try and get STM to do a lot of the work, since you seem to have 'Vertical Limit' build in to STM and I'd generally want to try and set the text at a predefined point above each character's head using AC's setting for each character, and then when the text goes over a certain horizontal limit, it expands vertically, preferably up. BUT, there's also an AC setting to always keep text inside the screen at all times, so one RectTransform object is requited I believe. Is there a way to automatically generate a kind of semi-transparent coloured background to the text, to simulate a text box? Then I maybe wouldn't need all the other nesting objects.

Yes, only seems to happen when recording with Unity's Recorder. At 60fps it's almost imperceptible but still noticeable.

Anyways, instead of me asking all these questions, I think what'd be best (like you suggest) is if I ZIP my project and send it to you to have a squizz at if that's ok. Will email you a GDrive link shortly.

If you can let STM do most of the work, see if that works for you! The AutoWrap feature sounds like what you're after, with VerticalLimit being its vertical counterpart. (On UI text, these values are controlled by the size of the recttransform, by the way!!! Unless"ui wrap" and "ui limit" are disabled.) 


The STMMatchRect code in my sample scenes really sounds like what you're looking for - it just takes an existing rectTransform which you can change the appearance of, and resizes it based on text size. (With options for which bounds it's copying.) So please check out the sample scene for that.


What is your monitor's refresh rate? If it's higher than 60, that means the issue shouldn't be something delta-related, so that helps narrow it down at least. (Thinking it's happening on a per-frame basis, rather than a per-time basis) 


Got your zip, will check it out shortly!