- Fixed an issue with null reference when using
TextMeshPro
(non-UGUI). - Reduced the problem where calling
SetText
immediately after instantiatingTextMeshProUGUI
within the same frame would cause the typewriter effect to fail.
- When the
pixel perfect
option of theCanvas
is set to true, callingSetText
immediately after instantiatingTextMeshProUGUI
within the same frame will still cause the typewriter effect to fail.
- Fixed issues with regular expressions not matching the leading omitted parameters and other matching problems.
- Fixed errors occurring when executing tags due to the omission of preceding parameters.
- Fixed various compatibility issues in Unity 2020.x version.
- Fixed the issue of incorrectly merge-optimizing of nested or interleaved paired tags.
- I made a silly mistake, accidentally typed an extra character. It's fixed now.
- Added component icons.
- Removed unnecessary EditorWindow script.
- Added
SoftSkip
method for soft skipping andSetSoftSkip
method for setting continuous soft skipping. UnlikeSkip
, soft skipping jumps only to the next tag that executes a Func-type delegate; - Added
timeScale
field to TMProPlayer class for convenient fast-forwarding.
- Fixed issue where
Skip
was not executing tags; - Fixed delay of one frame when invoking Action in typewriter effect due to null return;
- Optimized implementation of
Delay
tag; - Fixed bug where text was not updating when
Delay
was set to 0; - Fixed issue where the TMProPlayer instance was not correctly disposing the internal CancellationTokenSource when destroyed;
- Fixed issue of going beyond the index when updating
NextChar
.
- When a GameObject containing TMProPlayer with an ongoing typewriter effect coroutine is set to a non-active state and then reactivated, all text will be displayed instantly. However, the typewriter effect is still ongoing. (Possibly because TextMeshPro resets the mesh to its initial state upon Enable.)