redbluegames/unity-text-typer

Uncap 1 character from frame limit

Steen-Is-Adrift opened this issue · 1 comments

One character per frame is simply too slow for anything heavy on dialogue.
Sorry if this has been addressed already. I don't understand the majority of the other tickets.

Thanks for the issue! You are right that it should be possible to be faster than one character per frame.

There are few options for you to customize the printing speed, but none will let you print faster than one per frame due to the nature of the code.

You can pass in printing speed into the TypeText method (which is probably why you initially closed this issue).

But you may want the default delay to be faster / slower for your project. If you want to do that, so that you don't have to supply a delay to every TypeText call, you can technically change the default delay at

private const float PrintDelaySetting = 0.02f;
, but that's janky cause you shouldn't need to change the code for your project. (tasked here: #4).

Gonna re-open this as an issue to allow characters to print faster than one per frame.