Skip to content

CalmlyGrass/UnityTilemapMask

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

UnityTilemapMask

The mask component. Works the same as SpriteMask, but used for tilemaps. Very easy to use!

How to use

  1. Download the TilemapMask folder
  2. Apply the TilemapMask.cs script to an object that the Tilemap is on and set the Mask Cell field to the FloorMask.prefab.
  3. Set the Mask Interaction to "Visible Inside Mask" inside all SpriteRenderers of your sprites, which should only appear inside the mask.
  4. See the result! :)

alt text

Ask any questions you want in the issues section. I'm still supporting this repo!

Also you can give me a star if you'd like to <3

Releases

No releases published

Languages