Luca3317 / TMPEffects

Easily animate Unity text and apply other effects with custom tags
https://luca3317.dev/tmpeffects
MIT License
248 stars 11 forks source link

write speed is too slow #7

Closed whynames closed 5 months ago

whynames commented 5 months ago

Hey, write delay is too slow for me even when I adjust it too 0.000001f. Is there a turn around for speeding it up?

Luca3317 commented 5 months ago

Hi, its most likely because the delay speed is bottlenecked by your framerate. TMPWriter's coroutine uses WaitForSeconds to wait for the delays and doesnt account for additional time that passed during the frame.

This is an issue I hadnt considered yet, Ill push a version of the TMPWriter with this fixed into the WorkingChanges branch later today.

Luca3317 commented 5 months ago

Issue should be fixed, Ill merge it onto main in a few days (once i fixed an annoying little bug with command tag indices). For now you can grab it from WorkingChanges if you want to.

For 0.000001 seconds delay it will ofc all just appear in one frame, unless youre running at a million frames 😮