mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
[unity] Fixed a Timeline bug (not pausing) when Don't end at clip end is enabled and PlayableDirector.pause is called. Closes #1980.
This commit is contained in:
parent
d3a2a65513
commit
ead89c9c35
@ -62,10 +62,8 @@ namespace Spine.Unity.Playables {
|
||||
}
|
||||
|
||||
public override void OnGraphStop (Playable playable) {
|
||||
if (endAtClipEnd)
|
||||
if (!isPaused && endAtClipEnd)
|
||||
HandleClipEnd();
|
||||
else if (isPaused) // stop event occurred after pause, so resume again
|
||||
HandleResume(playable);
|
||||
}
|
||||
|
||||
public override void OnBehaviourPlay (Playable playable, FrameData info) {
|
||||
|
||||
@ -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 runtime (via the spine-unity unitypackage), version 4.0.\n(See http://esotericsoftware.com/git/spine-runtimes/spine-unity)",
|
||||
"version": "4.0.6",
|
||||
"version": "4.0.7",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
@ -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.0.\n(See http://esotericsoftware.com/git/spine-runtimes/spine-unity)",
|
||||
"version": "4.0.6",
|
||||
"version": "4.0.7",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user