Adjust the color of 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, orientation of the sprite texture, and other properties to affect how a sprite is rendered.
| Property | Description |
|---|---|
| Sprite | Set the texture the sprite 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 renders 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. To change the set sprite, select the Sprite picker (⊙) to open a window that displays available assets. |
| Open Sprite Editor | Select this button to open the currently set sprite texture in the Sprite Editor window. |
| Color | Select a color for the sprite, which tints the sprite’s texture with the selected color. |
| Flip | Activate an axis to flip the sprite texture along that axis. This won’t move or mirror the GameObject’s location. |
| Draw Mode | Select how Unity renders and scales the sprite by selecting from the following options:
|
| Mask Interaction | Set how the Sprite Renderer behaves when interacting with a Sprite MaskA texture which defines which areas of an underlying image to reveal or hide. More info See in Glossary.
|
| Sprite Sort Point | Choose which point on your sprite Unity should use to calculate its distance from the camera. This determines the sprite’s render order during sorting. Refer to Sprite Sort Point for more details.
|
| Material | Select the material for the sprite. The default material is Sprite-Lit-Default. Select the Material picker (⊙) to open a window that displays available materials. |
The following properties are available when you set the Draw Mode to Tiled.
| Properties | Description |
|---|---|
| Size | Enter the sprite’s new Width and Height dimensions in Unity unitsThe unit size used in Unity projects. By default, 1 Unity unit is 1 meter. To use a different scale, set the Scale Factor in the Import Settings when importing assets. See in Glossary. |
| Tile Mode | Select the tiling behavior of the sprite:
|
| Property | Description |
|---|---|
| Sorting Layer | Set the Sorting Layer of the sprite, which controls its priority during rendering. Select an existing Sorting Layer from the dropdown box, or create a new Sorting Layer.
|
| Order in Layer | Set the render priority of the sprite within its Sorting Layer. Lower-numbered sprites are rendered first, with higher-numbered sprites overlapping those below. |
| Rendering Layer MaskA value defining which layers to include or exclude from an operation, such as rendering, collision or your own code. More info See in Glossary |
Selects which rendering layers this GameObject belongs to. |