The mask component. Works the same as SpriteMask, but used for tilemaps. Very easy to use!
- Download the TilemapMask folder
- Add the
TilemapMask.csscript to an object that the Tilemap is on and set theMask Cellfield to theFloorMask.prefab. - Click
Generate Maskto generate mask for your tilemap. - Set
Mask InteractiontoVisible Inside Maskinside allSpriteRenderersof yourSprites, which should only appear inside the mask. - See the result! :)
