浏览代码

[unity] minor: format check fix, different auto-formatting due to preprocessor #if.

Harald Csaszar 3 年之前
父节点
当前提交
eb9702b1b1
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      spine-unity/Assets/Spine/Runtime/spine-unity/Asset Types/SpineSpriteAtlasAsset.cs

+ 1 - 2
spine-unity/Assets/Spine/Runtime/spine-unity/Asset Types/SpineSpriteAtlasAsset.cs

@@ -31,7 +31,6 @@
 #define EXPOSES_SPRITE_ATLAS_UTILITIES
 #endif
 
-using Spine;
 using System;
 using System.Collections.Generic;
 using UnityEngine;
@@ -184,7 +183,7 @@ namespace Spine.Unity {
 				texture = AccessPackedTextureEditor(spriteAtlas);
 			else
 #endif
-				texture = AccessPackedTexture(sprites);
+			texture = AccessPackedTexture(sprites);
 
 			Material material = materials[0];
 #if !UNITY_EDITOR