Skip to content

Commit c3683fb

Browse files
YITSUSE, MasamiYITSUSE, Masami
authored andcommitted
[Ver.2.2.5]
- #ifで閉じ忘れていた列記があったので閉じ直した(実際的にはUnity2020以降であれば#ifで括らなくてもコンパイルは通るのですが、2019系が通らないはずなので追加処置しました)
1 parent 235558a commit c3683fb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • Assets/SpriteStudio6/Editor/Import

Assets/SpriteStudio6/Editor/Import/SSCE.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,7 @@ private static int NameSearchFileIDPair(List<UnityEditor.SpriteNameFileIdPair> l
12681268

12691269
/* ----------------------------------------------- Enums & Constants */
12701270
#region Enums & Constants
1271+
#if USE_SPRITEATLAS
12711272
private readonly static SpriteAlignment[] TableAlignment = {
12721273
/* SpriteMetaData.alignment */
12731274
/* Center = 0 */ SpriteAlignment.Center,
@@ -1281,6 +1282,8 @@ private static int NameSearchFileIDPair(List<UnityEditor.SpriteNameFileIdPair> l
12811282
/* BottomRight = 8 */ SpriteAlignment.BottomRight,
12821283
/* Custom = 9 */ SpriteAlignment.Custom,
12831284
};
1285+
#else
1286+
#endif
12841287
#endregion Enums & Constants
12851288
}
12861289

0 commit comments

Comments
 (0)