Version: Unity 6.6 Alpha (6000.6)
Language : English
General preferences reference
Analysis preferences reference

2D preferences reference

The 2D preference settings allow you to define the settings of 2D-related features and packages. When you install 2D related packages (such as the Tilemap Editor package) into your Project, their preference settings appear in this section.

Use the Physics preferences to configure the 2D physics settings, such as the colors used in the UI.

To open the preferences, go to Edit > Preferences > 2D (macOS: Unity > Settings > 2D).

2D physics collider settings

Set the colors for the following UI elements.

Property Function
Awake Color (Outline) Set the color of the 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 info
See in Glossary
2D GizmoA graphic overlay associated with a GameObject in a Scene, and displayed in the Scene View. Built-in scene tools such as the move tool are Gizmos, and you can create custom Gizmos using textures or scripting. Some Gizmos are only drawn when the GameObject is selected, while other Gizmos are drawn by the Editor regardless of which GameObjects are selected. More info
See in Glossary
’s outline when the RigidbodyA component that allows a GameObject to be affected by simulated gravity and other forces. More info
See in Glossary
2D it’s attached to is Awake.
Awake Color (Filled) Set the color of the Collider 2D Gizmo’s interior fill when the Rigidbody 2D it’s attached to is Awake.
Asleep Color (Outline) Set the color of the Collider 2D Gizmo’s outline when the Rigidbody 2D it’s attached to is Asleep.
Asleep Color (Filled) Set the color of the Collider 2D Gizmo’s interior fill when the Rigidbody 2D it’s attached to is Asleep.
Bounds Color Set the color of the bounds for all PhysicsShape2D that a Collider 2D creates.

2D physics contacts settings

Set the colors used for the following UI elements.

Property Function
Contact Color Set the color of the Collider 2D Gizmo’s contacts which are displayed as a directional arrow starting at the contact point in the direction of the contact normal.
Contact Arrow Scale Set the scale of the Collider 2D contacts arrow. Larger values draw the arrow larger.

Additional resources

General preferences reference
Analysis preferences reference