Skip to content

Commit

Permalink
Fix warning message for transparent slices (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
rguerreiro-kb authored Jul 5, 2023
1 parent 84f0f89 commit 8573507
Show file tree
Hide file tree
Showing 14 changed files with 1,195 additions and 4 deletions.
Binary file added Assets/Samples/Atlases/EmptyAfterChanges 001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 92 additions & 0 deletions Assets/Samples/Atlases/EmptyAfterChanges 001.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions Assets/Samples/Atlases/EmptyAfterChanges.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4c68106294c057640a5701c6cc4e5f0e, type: 3}
m_Name: EmptyAfterChanges
m_EditorClassIdentifier:
sprites:
- {fileID: 21300000, guid: 8c25f127a247748aa80ef3d8298e3cca, type: 2}
- {fileID: 21300000, guid: 214007c68414b48ca86f652e49aa13f7, type: 2}
- {fileID: 21300000, guid: 02b9c3d2e2fb54eae8402c240388045a, type: 2}
textures:
- {fileID: 2800000, guid: aed2fb4d8ee984c919bf8765d200cfcf, type: 3}
atlasSizeLimit: 2048
forceSquare: 0
forcePot: 0
pixelsPerUnit: 100
diceUnitSize: 64
padding: 2
uvInset: 0
defaultPivot: {x: 0.5, y: 0.5}
keepOriginalPivot: 1
decoupleSpriteData: 1
trimTransparent: 1
inputFolder: {fileID: 102900000, guid: 4c8fa8e4b51f8594088d53aa38429ba3, type: 3}
includeSubfolders: 0
prependSubfolderNames: 0
generatedSpritesFolderGuid:
lastRatioValue: 3946 KB / (223 KB + 33 KB) = <color=lime>15.41</color>
8 changes: 8 additions & 0 deletions Assets/Samples/Atlases/EmptyAfterChanges.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Samples/Atlases/EmptyAfterChanges.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

212 changes: 212 additions & 0 deletions Assets/Samples/Atlases/EmptyAfterChanges/Empty.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!213 &21300000
Sprite:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Empty
m_Rect:
serializedVersion: 2
x: 0
y: 0
width: 100
height: 100
m_Offset: {x: 78, y: 78}
m_Border: {x: 0, y: 0, z: 0, w: 0}
m_PixelsToUnits: 100
m_Pivot: {x: 1.28, y: 1.28}
m_Extrude: 0
m_IsPolygon: 0
m_AtlasName:
m_PackingTag:
m_RenderDataKey:
00000000000000000000000000000000: 0
m_AtlasTags: []
m_SpriteAtlas: {fileID: 0}
m_RD:
serializedVersion: 3
texture: {fileID: 2800000, guid: aed2fb4d8ee984c919bf8765d200cfcf, type: 3}
alphaTexture: {fileID: 0}
secondaryTextures: []
m_SubMeshes:
- serializedVersion: 2
firstByte: 0
indexCount: 1
topology: 0
baseVertex: 0
firstVertex: 0
vertexCount: 1
localAABB:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_IndexBuffer: 0000
m_VertexData:
serializedVersion: 3
m_VertexCount: 1
m_Channels:
- stream: 0
offset: 0
format: 0
dimension: 3
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 1
offset: 0
format: 0
dimension: 2
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
m_DataSize: 24
_typelessdata: 000000000000000000000000000000000000000000000000
m_Bindpose: []
textureRect:
serializedVersion: 2
x: 2.0761204
y: 0
width: 97.92388
height: 87.92388
textureRectOffset: {x: 2.0761204, y: 0}
atlasRectOffset: {x: -1, y: -1}
settingsRaw: 192
uvTransform: {x: 100, y: 128, z: 100, w: 128}
downscaleMultiplier: 1
m_AtlasRD:
serializedVersion: 3
texture: {fileID: 2800000, guid: aed2fb4d8ee984c919bf8765d200cfcf, type: 3}
alphaTexture: {fileID: 0}
secondaryTextures: []
m_SubMeshes:
- serializedVersion: 2
firstByte: 0
indexCount: 1
topology: 0
baseVertex: 0
firstVertex: 0
vertexCount: 1
localAABB:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_IndexBuffer: 0000
m_VertexData:
serializedVersion: 3
m_VertexCount: 1
m_Channels:
- stream: 0
offset: 0
format: 0
dimension: 3
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 1
offset: 0
format: 0
dimension: 2
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
- stream: 0
offset: 0
format: 0
dimension: 0
m_DataSize: 24
_typelessdata: 000000000000000000000000000000000000000000000000
m_Bindpose: []
textureRect:
serializedVersion: 2
x: 2.0761204
y: 0
width: 97.92388
height: 87.92388
textureRectOffset: {x: 2.0761204, y: 0}
atlasRectOffset: {x: -1, y: -1}
settingsRaw: 192
uvTransform: {x: 100, y: 128, z: 100, w: 128}
downscaleMultiplier: 1
m_PhysicsShape: []
m_Bones: []
m_SpriteID:
8 changes: 8 additions & 0 deletions Assets/Samples/Atlases/EmptyAfterChanges/Empty.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8573507

Please sign in to comment.