Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed May 19, 2024
2 parents c112db3 + 03498b4 commit 2da4a73
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ private LDtkArtifactAssetsTileset MakeAndCacheArtifacts(TextureGenerationOutput
{
LDtkProfiler.BeginSample("AddTile");
Sprite spr = output.sprites[i];
spr.hideFlags = HideFlags.HideInHierarchy;
ImportContext.AddObjectToAsset(spr.name, spr);
LDtkProfiler.EndSample();

Expand All @@ -250,7 +251,7 @@ private LDtkArtifactAssetsTileset MakeAndCacheArtifacts(TextureGenerationOutput
newTilesetTile._sprite = spr;
newTilesetTile._type = GetColliderTypeForSprite(spr);
newTilesetTile._tileId = i;
newTilesetTile.hideFlags = HideFlags.None;
newTilesetTile.hideFlags = HideFlags.HideInHierarchy;
if (customData.TryGetValue(i, out string cd))
{
newTilesetTile._customData = cd;
Expand Down

0 comments on commit 2da4a73

Please sign in to comment.