Skip to content

Commit

Permalink
fix: Reverted setting sprites as HideInHierarchy so that they can be …
Browse files Browse the repository at this point in the history
…added to SpriteAtlas properly
  • Loading branch information
Cammin committed May 25, 2024
1 parent eb90ce4 commit 4825f28
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ private LDtkArtifactAssetsTileset MakeAndCacheArtifacts(TextureGenerationOutput
{
LDtkProfiler.BeginSample("AddSpriteToAsset");
Sprite spr = output.sprites[i];
spr.hideFlags = HideFlags.HideInHierarchy;
//need to reveal sprites in the hierarchy, so they can be added to a sprite atlas
//spr.hideFlags = HideFlags.HideInHierarchy;
ImportContext.AddObjectToAsset(spr.name, spr);
LDtkProfiler.EndSample();

Expand Down

0 comments on commit 4825f28

Please sign in to comment.