LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

PhysicsVisualizationSettings.colorVariance

public static float colorVariance;

Description

Used to disinguish neighboring Colliders.

Linearly blends the existing color for a Collider with a random color that is built from the underlying physics object address.