Explore the properties you use to add secondary textures to 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 texture, for example normal mapsA type of Bump Map texture that allows you to add surface detail such as bumps, grooves, and scratches to a model which catch the light as if they are represented by real geometry.
See in Glossary or lighting mask maps. For more information, refer to Add a normal map or a mask map to a sprite in URP.
The following properties appear in all the different tabs of the Sprite Editor window.
| Property | Icon | Description |
|---|---|---|
| Window name | N/A | Sets the tab to display in the Sprite Editor window. The options are:
|
| Preview | Previews your changes 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 view. |
|
| Revert | N/A | Discards your changes. |
| Apply | N/A | Saves your changes. |
| Color | Toggles between displaying the color channels of the texture and its alpha channel. | |
| Zoom | N/A | Sets the zoom level at which to display the texture. |
| Mipmap level | Sets the mipmap level of the texture to display. The slider ranges from the lowest resolution mipmap level on the left to the highest resolution mipmap level on the right. This property is available only if the texture has mipmap levels. |
The main area of the Sprite Editor window displays the texture. Each individual sprite in the texture displays as a white outline, also known as a SpriteRect.
Left-click a sprite to select it.
Unity displays the following:
To display a secondary texture in the Sprite Editor window, select it in the Secondary Textures overlay. To display the sprite texture again, select anywhere outside of the overlay.
| Property | Description |
|---|---|
| Add (+) | Adds a secondary texture. The maximum number of secondary textures is 8. |
| Remove (-) | Removes a secondary texture. Select a secondary texture to highlight it, then select Remove. |
| Name | Sets the name of the secondary texture. To add a normal map or a lighting mask map, select _NormalMap or _MaskTex from the dropdown. Note: The dropdown might include names used by Unity packages you installed, even if you have since uninstalled the packages. For more information about adding a normal map of a lighting mask map, refer to Add a normal map or a mask map to a sprite in URP. |
| Texture | Sets the texture to use as the secondary texture. Drag a texture from the Project window, or select the picker (⊙). To save the texture, select Apply in the toolbarA row of buttons and basic controls at the top of the Unity Editor that allows you to interact with the Editor in various ways (e.g. scaling, translation). More info See in Glossary. |