Version: 2018.4
public SpriteMaskInteraction maskInteraction ;

説明

Specifies how the sprite interacts with the masks.

Sprites by default do not interact with Masks and will be visible irrespective of any mask being present or not. Sprites can also be setup to be visible inside a mask by setting this value to VisibleInsideMask. The inverse can be achieved by seting the maskInteraction to VisibleOutsideMask.