mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-08 00:04:54 +08:00
Merge branch 'EsotericSoftware/3.6' into 3.6
This commit is contained in:
commit
b385c8e6c6
@ -375,12 +375,10 @@ namespace Spine.Unity.Editor {
|
||||
ISkeletonComponent skeletonComponent = GetTargetSkeletonComponent(property);
|
||||
var validSkins = new List<Skin>();
|
||||
|
||||
|
||||
|
||||
if (skeletonComponent != null && targetAttribute.currentSkinOnly) {
|
||||
Skin currentSkin = null;
|
||||
|
||||
var skinProperty = property.FindPropertyRelative(targetAttribute.skinField);
|
||||
var skinProperty = property.FindBaseOrSiblingProperty(targetAttribute.skinField);
|
||||
if (skinProperty != null) currentSkin = skeletonComponent.Skeleton.Data.FindSkin(skinProperty.stringValue);
|
||||
|
||||
currentSkin = currentSkin ?? skeletonComponent.Skeleton.Skin;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user