custom attributes wip

This commit is contained in:
2016-08-24 15:53:00 +07:00
parent a3089225b9
commit ed3f768e0d
13 changed files with 165 additions and 159 deletions

View File

@@ -22,7 +22,7 @@ namespace FlashTools.Internal {
[System.Serializable]
public struct Settings {
[SwfPowerOfTwoIfAttribute("AtlasPowerOfTwo", 32, 8192)]
[SwfPowerOfTwoIfAttribute(5, 13, "AtlasPowerOfTwo")]
public int MaxAtlasSize;
public int AtlasPadding;
public int PixelsPerUnit;