The mask component. Works the same as SpriteMask, but used for tilemaps. Very easy to use!
- Download the TilemapMask folder
- Add the
TilemapMask.cs
script to an object that the Tilemap is on and set theMask Cell
field to theFloorMask.prefab
. - Click
Generate Mask
to generate mask for your tilemap. - Set
Mask Interaction
toVisible Inside Mask
inside allSpriteRenderers
of yourSprites
, which should only appear inside the mask. - See the result! :)
Ask any questions you want in the issues section. I'm still supporting this repo!
Also you could give me a star if you'd like to <3