UnityTileMap icon indicating copy to clipboard operation
UnityTileMap copied to clipboard

When tile resolution set to 21 instead of 16, you can't place tiles

Open dyc3 opened this issue 8 years ago • 3 comments

Here is the spritesheet I'm using. (3 pixel offset, 2 pixels between each tile, each tile is 21x21)

Here are the stack traces

dyc3 avatar May 25 '17 13:05 dyc3

https://pastebin.com/ZtUw9KYn

Here's a better version of the stack traces above.

wolfreak99 avatar May 25 '17 13:05 wolfreak99

@dyc3 Try this, could you open up the "Grid" component in unity and change the "m_sizeX" to 21 and "m_sizeY" to 21? If the grid component does not show the fields, or you are unable to find the grid component, change the value located at https://github.com/Mizipzor/UnityTileMap/blob/master/Assets/Plugins/TileMap/Grid.cs#L11 and https://github.com/Mizipzor/UnityTileMap/blob/master/Assets/Plugins/TileMap/Grid.cs#L14 "Assets/Plugins/TileMap/Grid.cs"

wolfreak99 avatar May 25 '17 13:05 wolfreak99

That worked, but the tiles aren't being placed where I'm clicking.

dyc3 avatar May 25 '17 21:05 dyc3