public SpriteMaskInteraction maskInteraction ;

설명

Specifies how the Tilemap interacts with the masks.

Tilemaps by default do not interact with Masks and will be visible irrespective of any mask being present or not. Tilemaps can also be set up to be only visible under a mask by setting this value to VisibleUnderMask. The inverse can be achieved by seting the maskInteraction to VisibleOutsideMask.