Releases: mdechatech/CharTweener
Releases · mdechatech/CharTweener
v2.0.0
Changelog
New changes
- New: Method
SetVisualUpdateInterval
to limit how often the text mesh is visually updated, which can improve performance - New: Extra tween methods
DODriftPosition
DODriftRotation
DOMoveCircle
- 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/Z
now tweens character position relative to text mesh position
- Same behavior as v1.0.0
- New: Methods to control all tweens under a
CharTweener
or all tweens on a single characterDOCompleteAll
DOCompleteAll(int charIndex)
DOKillAll
DOKillAll(int charIndex)
- New: Tween methods for parity with DOTween
DOBlendablePunchRotation
DOLocalJump
- New:
CharTweener
getters/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
)ResetPosition
ResetRotation
ResetScale
- New:
CharTweener
methods and getters/setters for parity withTransform
Get/SetLocalPosition
(character's position relative to the text mesh's position)GetLocalToWorldMatrix
GetUp/Forward/RightVector
GetWorldToLocalMatrix
InverseTransformDirection/Point/Vector
LookAt
Rotate
RotateAround
TransformDirection/Point/Vector
Translate
- New: Example scenes CharTweenerExampleInput and CharTweenerExampleFull
- New:
CharTweener
component 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/Z
orDOMoveX/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/Z
behavior, use newDOOffsetMove/X/Y/Z
- Breaking change: Renamed some
CharTweener
getters/settersGet/SetPositionOffset
toGet/SetPosition
(#4)Get/SetGradient
toGet/SetColorGradient
- Breaking change: Changed
CharTweener.Text
access frompublic { get; set; }
topublic { get; }
- Breaking change: Changed behavior of some
CharTweener
getter methods on non-modified charactersGetColor
on a non-modified character now returns the text meshcolor
instead ofdefault(Color)
GetColorGradient
(renamed fromGetGradient
) on a non-modified character now returns the text meshcolorGradient
instead ofdefault(VertexGradient)
GetPosition
(renamed fromGetPositionOffset
) on a non-modified character now returns the characterposition
instead ofVector3.zero
GetEulerAngles
on a non-modified character now returns the text mesheulerAngles
instead ofVector3.zero
GetRotation
on a non-modified character now returns the text meshrotation
instead ofQuaternion.identity
GetLossyScale
on a non-modified character now returns the text meshlossyScale
instead ofVector3.one
- Breaking change: Changed
CharTweener.Initialize
signature fromvoid()
tovoid(TMP_Text text)
Fixes
v1.0.0
Stay with this release if using Unity 2017 or earlier.