[unity] Minor cleanup.

This commit is contained in:
pharan 2017-07-06 06:42:23 +08:00
parent 16821f0bf7
commit 90789b130c
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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);