Merge pull request #934 from dorisugita/patch-5

null check
This commit is contained in:
John 2017-07-10 14:13:20 +08:00 committed by GitHub
commit efff171461

View File

@ -62,6 +62,7 @@ namespace Spine.Unity.Modules {
if (!this.enabled) return;
atlas = atlasAsset.GetAtlas();
if (atlas == null) return;
float scale = skeletonRenderer.skeletonDataAsset.scale;
foreach (var entry in attachments) {