Skip to content

Commit

Permalink
Add workaround for Unity-Technologies/issues/324
Browse files Browse the repository at this point in the history
  • Loading branch information
aroman authored Nov 24, 2021
1 parent a4096eb commit 1dfb906
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Runtime/Tiles/RuleTile/RuleTile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ public override void GetTileData(Vector3Int position, ITilemap tilemap, ref Tile
tileData.colliderType = m_DefaultColliderType;
tileData.flags = TileFlags.LockTransform;
tileData.transform = iden;
// Workaround for https://github.com/Unity-Technologies/2d-extras/issues/324
// https://forum.unity.com/threads/2021-2-0f1-tilemap-settiles-not-working-as-previous.1190572/#post-7624684
tileData.color = Color.white;

foreach (TilingRule rule in m_TilingRules)
{
Expand Down

0 comments on commit 1dfb906

Please sign in to comment.