Documentation

Unity Engine


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 drawing. The alpha value here is always ignored. This is assigned to the current PhysicsShape.surfaceMaterial.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public Color32 customColor { get; set; }