Version: Unity 6 (6000.0)
Language : English
Hide or reveal parts of a sprite with a mask
Apply a mask to a sprite

Create a sprite mask

To create a SpriteA 2D graphic objects. If you are used to working in 3D, Sprites are essentially just standard textures but there are special techniques for combining and managing sprite textures for efficiency and convenience during development. More info
See in Glossary
Mask:

  1. Select from the main menu GameObject > 2D Object > Sprite Mask.

A new sprite maskA texture which defines which areas of an underlying image to reveal or hide. More info
See in Glossary
GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
is created in the sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
.

SpriteMask

Hide or reveal parts of a sprite with a mask
Apply a mask to a sprite