mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 06:29:02 +08:00
[unity] AnimationReferenceAsset Inspector: Fixed red error popup color showing when no parent SkeletonAnimation component found. See #2453.
This commit is contained in:
parent
9df5f9e4de
commit
f61278ac17
@ -103,7 +103,7 @@ namespace Spine.Unity.Editor {
|
||||
if (currentAsset != null && currentAsset.SkeletonDataAsset != null) {
|
||||
resolvedSkeletonDataAsset = currentAsset.SkeletonDataAsset;
|
||||
// If other SkeletonDataAsset than expected, use assigned asset but show warning color in Inspector.
|
||||
if (resolvedSkeletonDataAsset != expectedSkeletonDataAsset)
|
||||
if (expectedSkeletonDataAsset && resolvedSkeletonDataAsset != expectedSkeletonDataAsset)
|
||||
skeletonDataAssetMismatch = true;
|
||||
} else {
|
||||
resolvedSkeletonDataAsset = expectedSkeletonDataAsset;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-unity",
|
||||
"displayName": "spine-unity Runtime",
|
||||
"description": "This plugin provides the spine-unity runtime core and examples. Spine Examples can be installed via the Samples tab.",
|
||||
"version": "4.3.57",
|
||||
"version": "4.3.58",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user