Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


customColor

Custom debug draw color. Any color value other than Color.clear (RGBA=0) will be used to render the shape.. This value is passed back when using the PhysicsWorld debug drawing. The alpha value here is always ignored. This is only used in the Unity Editor or in a Development Player. This is assigned to the current PhysicsShape.surfaceMaterial. See Draw.
Read time 1 minuteLast updated 10 days ago

Definition

public Color32 customColor { get; set; }