기술 자료

Unity Engine

Unity Engine

DrawColorSwatch(Rect, Color)

Draw a color swatch.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void DrawColorSwatch(Rect position, Color color)

Parameters

position

The rectangle to draw the color swatch within.

color

The color to draw.