Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Physics2D.colliderContactColor

public static Color colliderContactColor;

Description

The color used by the gizmos to show all collider contacts.

This is only used in the editor to control gizmo options.