mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
Merge branch 'EsotericSoftware/3.6' into 3.6
This commit is contained in:
commit
cfcc548b5f
@ -80,14 +80,16 @@ namespace Spine.Unity {
|
||||
|
||||
}
|
||||
|
||||
// Only provide visual feedback to inspector changes in Unity Editor Edit mode.
|
||||
if (!Application.isPlaying) {
|
||||
skeleton.flipX = this.initialFlipX;
|
||||
skeleton.flipY = this.initialFlipY;
|
||||
|
||||
skeleton.SetToSetupPose();
|
||||
if (!string.IsNullOrEmpty(startingAnimation))
|
||||
skeleton.PoseWithAnimation(startingAnimation, 0f, false);
|
||||
}
|
||||
|
||||
skeleton.SetToSetupPose();
|
||||
if (!string.IsNullOrEmpty(startingAnimation))
|
||||
skeleton.PoseWithAnimation(startingAnimation, 0f, false);
|
||||
}
|
||||
} else {
|
||||
if (skeletonDataAsset != null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user