diff --git a/Packages/com.happyrobot33.atlasgenerator/Editor/AtlasInformation.cs b/Packages/com.happyrobot33.atlasgenerator/Editor/AtlasInformation.cs index ceb348f..54b48d5 100644 --- a/Packages/com.happyrobot33.atlasgenerator/Editor/AtlasInformation.cs +++ b/Packages/com.happyrobot33.atlasgenerator/Editor/AtlasInformation.cs @@ -189,7 +189,7 @@ public void Rebuild() Texture2D atlas = new Texture2D(AtlasSize.x, AtlasSize.y); //make the default color black Profiler.BeginSample("Clear Texture"); - var fillColorArray = atlas.GetPixelData(0); + var fillColorArray = atlas.GetPixelData(0); for (int i = 0; i < fillColorArray.Length; i++) { fillColorArray[i] = BackgroundColor; diff --git a/Packages/com.happyrobot33.atlasgenerator/package.json b/Packages/com.happyrobot33.atlasgenerator/package.json index e1d23b0..cee5917 100644 --- a/Packages/com.happyrobot33.atlasgenerator/package.json +++ b/Packages/com.happyrobot33.atlasgenerator/package.json @@ -1,7 +1,7 @@ { "name": "com.happyrobot33.atlasgenerator", "displayName": "Atlas Generator", - "version": "0.0.3", + "version": "0.0.4", "unity": "2019.4", "description": "This package provides a system to automatically generate atlases upon texture changes", "author": {