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