Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


color

Rendering color for the SpriteShape.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.U2D
  • Assembly: UnityEngine.SpriteShapeModule
public Color color { get; set; }

Remarks

The selected vertex color becomes the rendering color, and is accessible in a pixel shader. The default color is white when no color is selected.