The 2D tab of the Preferences window allows you to define the settings of 2D features and packages. When you install 2D packages such as the 2D Tilemap Editor package, their preference settings appear in this section.
To open the preferences, go to Edit > Preferences > 2D (macOS: Unity > Settings > 2D).
This tab is available only if you install the 2D Animation package. For more information, refer to Skinning Editor preferences.
This tab is available only if you install the 2D Aseprite Importer package. For more information, refer to Aseprite Importer preferences.
This tab is available only if you install the 2D Tilemap Editor package. For more information, refer to Grid Brush preferences reference.
Configure the colors Unity uses for 2D physics collision shapes 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.
| Property | Description |
|---|---|
| Awake Color (Outline) | Sets the outline color of a collisionA collision occurs when the physics engine detects that the colliders of two GameObjects make contact or overlap, when at least one has a Rigidbody component and is in motion. More info See in Glossary shape when the RigidbodyA component that allows a GameObject to be affected by simulated gravity and other forces. More info See in Glossary 2D component is awake. |
| Awake Color (Filled) | Sets the fill color of a collision shape when the Rigidbody 2D component is awake. |
| Asleep Color (Outline) | Sets the outline color of a collision shape when the Rigidbody 2D component is asleep. |
| Asleep Color (Filled) | Sets the fill color of a collision shape when the Rigidbody 2D component is asleep. |
| Bounds Color | Sets the color of the bounds for all the PhysicsShape2D objects a ColliderAn invisible shape that is used to handle physical collisions for an object. A collider doesn’t need to be exactly the same shape as the object’s mesh - a rough approximation is often more efficient and indistinguishable in gameplay. More infoSee in Glossary 2D component creates. |
| Composited Color | Sets the outline color of the individual collision shapes in a Composite Collider 2D component. |
Configure the colors Unity uses for physics contacts in the Scene viewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary.
| Property | Description |
|---|---|
| Contact Color | Sets the color of the arrow that Unity displays when a contact occurs between two collision shapes. |
| Contact Arrow Scale | Sets the scale of the arrow. |
Configure the Sprite Editor window. This tab is available only if you install the 2D Sprite package.
| Property | Description |
|---|---|
| Show Apply Confirmation | Warns you before Unity saves your edits to the 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. |
| Show Revert Confirmation | Warns you before Unity reverts your edits to the sprite. |
This tab is available only if you install the 2D SpriteShape package. For more information, refer to Sprite Shape preferences.
This tab is available only if you install the 2D Tilemap Editor package. For more information, refer to Tile Palette preferences reference.