Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ internal static TextMeshProMotionAnimator Get(TMP_Text text)
{
if (textToAnimator.TryGetValue(text, out var animator))
{
animator.Reset();
if(!animator.isDirty)
animator.Reset();
animator.refCount++;
return animator;
}
Expand Down
2 changes: 1 addition & 1 deletion src/LitMotion/Assets/LitMotion/Runtime/LitMotion.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": true,
"overrideReferences": false,
"overrideReferences": true,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
Expand Down
2 changes: 1 addition & 1 deletion src/LitMotion/Assets/LitMotion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.annulusgames.lit-motion",
"version": "2.0.2",
"version": "2.0.3",
"displayName": "LitMotion",
"description": "Lightning-fast and Zero Allocation Tween Library for Unity.",
"keywords": [
Expand Down