mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Merge branch 'EsotericSoftware/3.6' into 3.6
This commit is contained in:
commit
b50496fe05
@ -76,8 +76,13 @@ namespace Spine.Unity {
|
||||
if (!valid) return;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
if (Application.isPlaying)
|
||||
if (Application.isPlaying) {
|
||||
translator.Apply(skeleton);
|
||||
} else {
|
||||
var translatorAnimator = translator.Animator;
|
||||
if (translatorAnimator != null && translatorAnimator.isInitialized)
|
||||
translator.Apply(skeleton);
|
||||
}
|
||||
#else
|
||||
translator.Apply(skeleton);
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user