Skip to content

Commit

Permalink
[unity] Fixed Spine Timeline not ending at clip end when last clip on…
Browse files Browse the repository at this point in the history
… track. Restores behaviour as named and documented. Closes EsotericSoftware#2318.
  • Loading branch information
HaraldCsaszar committed Jul 20, 2023
1 parent 8900377 commit 76d220b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -68,7 +68,8 @@ ScriptPlayable<SpineAnimationStateBehaviour>[] startingClips
}

public override void OnGraphStop (Playable playable) {
if (!isPaused && endAtClipEnd)
bool isStoppedNotPaused = playable.GetGraph().IsPlaying(); // end of track was reached or graph stopped.
if (isStoppedNotPaused && endAtClipEnd)
HandleClipEnd();
}

Expand Down
Expand Up @@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.timeline",
"displayName": "Spine Timeline Extensions",
"description": "This plugin provides integration of spine-unity for the Unity Timeline.\n\nPrerequisites:\nIt requires a working installation of the spine-unity and spine-csharp runtimes as UPM packages (not as spine-unity unitypackage), version 4.1.\n(See http://esotericsoftware.com/git/spine-runtimes/spine-unity)",
"version": "4.1.11",
"version": "4.1.12",
"unity": "2018.3",
"author": {
"name": "Esoteric Software",
Expand Down

0 comments on commit 76d220b

Please sign in to comment.