mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Minor cleanup.
This commit is contained in:
parent
16821f0bf7
commit
90789b130c
@ -98,7 +98,7 @@ namespace Spine.Unity {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Support attachmentless/skinless SkeletonData.
|
// Disabled to support attachmentless/skinless SkeletonData.
|
||||||
// if (atlasAssets == null) {
|
// if (atlasAssets == null) {
|
||||||
// atlasAssets = new AtlasAsset[0];
|
// atlasAssets = new AtlasAsset[0];
|
||||||
// if (!quiet)
|
// if (!quiet)
|
||||||
|
|||||||
@ -120,7 +120,6 @@ namespace Spine.Unity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void Apply (Skeleton skeleton) {
|
public void Apply (Skeleton skeleton) {
|
||||||
|
|
||||||
if (layerMixModes.Length < animator.layerCount)
|
if (layerMixModes.Length < animator.layerCount)
|
||||||
System.Array.Resize<MixMode>(ref layerMixModes, animator.layerCount);
|
System.Array.Resize<MixMode>(ref layerMixModes, animator.layerCount);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user