void DrawRect (in Rect rect, in Color color, in Vector4 cornerRadius, in Vector4 borderWidth, in Color borderColor)

Parameters

NameTypeDescription
in rect Rect The rectangle to draw.
in color Color The fill color of the rectangle.
in cornerRadius = null Vector4 The radius for each corner (optional).
in borderWidth = null Vector4 The width of the border for each edge (optional).
in borderColor = null Color The color of the border (optional).
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.