Releases: mdechatech/CharTweener
Releases · mdechatech/CharTweener
v2.0.0
Changelog
New changes
- New: Method
SetVisualUpdateIntervalto limit how often the text mesh is visually updated, which can improve performance - New: Extra tween methods
DODriftPositionDODriftRotationDOMoveCircle- More performant version of
DOCircle
- More performant version of
DOOffsetMove/X/Y/Z- Same behavior as v1.0.0
DOLocalMove/X/Y/Z, tweens character relative to its start poisiton.DOLocalMove/X/Y/Znow tweens character position relative to text mesh position
- Same behavior as v1.0.0
- New: Methods to control all tweens under a
CharTweeneror all tweens on a single characterDOCompleteAllDOCompleteAll(int charIndex)DOKillAllDOKillAll(int charIndex)
- New: Tween methods for parity with DOTween
DOBlendablePunchRotationDOLocalJump
- New:
CharTweenergetters/settersGetStartPosition(character's original position)GetLocalStartPosition(character's original position relative to the text mesh's position)Get/SetOffsetPosition(character's current position relative to its original position)Get/SetLocalScale(int charIndex, float value)(Sets x, y, and zlocalScale)ResetPositionResetRotationResetScale
- New:
CharTweenermethods and getters/setters for parity withTransformGet/SetLocalPosition(character's position relative to the text mesh's position)GetLocalToWorldMatrixGetUp/Forward/RightVectorGetWorldToLocalMatrixInverseTransformDirection/Point/VectorLookAtRotateRotateAroundTransformDirection/Point/VectorTranslate
- New: Example scenes CharTweenerExampleInput and CharTweenerExampleFull
- New:
CharTweenercomponent and proxy transforms are now visible in Unity's hierarchy view, as children of the target text mesh.
Breaking changes
- Breaking change: Dependencies
- Unity 2018.1.0f2 or newer
- TextMesh Pro 1.3.0 (found in 2018.1.0f2 package manager) or newer
- DOTween 1.1.695 (February 02, 2018) or newer
- Breaking change: Ahead-of-time tweening will not work with
DOLocalMoveX/Y/ZorDOMoveX/Y/Z- Feature should work with all other tweens, including
DOOffsetMoveX/Y/Z(which was formerlyDoLocalMoveX/Y/Z) - Ahead-of-time tweening allows for animation of characters that do not yet exist in the text
- Feature should work with all other tweens, including
- Breaking change: Changed
DOLocalMove/X/Y/Z, now tweens character position relative to text mesh position. For oldDOLocalMove/X/Y/Zbehavior, use newDOOffsetMove/X/Y/Z - Breaking change: Renamed some
CharTweenergetters/settersGet/SetPositionOffsettoGet/SetPosition(#4)Get/SetGradienttoGet/SetColorGradient
- Breaking change: Changed
CharTweener.Textaccess frompublic { get; set; }topublic { get; } - Breaking change: Changed behavior of some
CharTweenergetter methods on non-modified charactersGetColoron a non-modified character now returns the text meshcolorinstead ofdefault(Color)GetColorGradient(renamed fromGetGradient) on a non-modified character now returns the text meshcolorGradientinstead ofdefault(VertexGradient)GetPosition(renamed fromGetPositionOffset) on a non-modified character now returns the characterpositioninstead ofVector3.zeroGetEulerAngleson a non-modified character now returns the text mesheulerAnglesinstead ofVector3.zeroGetRotationon a non-modified character now returns the text meshrotationinstead ofQuaternion.identityGetLossyScaleon a non-modified character now returns the text meshlossyScaleinstead ofVector3.one
- Breaking change: Changed
CharTweener.Initializesignature fromvoid()
tovoid(TMP_Text text)
Fixes
v1.0.0
Stay with this release if using Unity 2017 or earlier.