useTypewriterEffect

Field in LineView

Summary

Controls whether the text of lineText should be gradually revealed over time.

public bool useTypewriterEffect = false;

Remarks

If this value is true, the lineText object's TMPro.TMP_Text.maxVisibleCharacters property will animate from 0 to the length of the text, at a rate of typewriterEffectSpeed letters per second when the line appears. onCharacterTyped is called for every new character that is revealed.

If this value is false, the lineText will all be revealed at the same time.

If useFadeEffect is true, the typewriter effect will run after the fade-in is complete.

See Also

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.