Porównane wersje

Klucz

  • Te wersy zostały dodane. Tosłowo zostało dodane.
  • Te wersy zostały usunięte. To słowo zostało usunięte.
  • Formatowanie zostało zmienione.

Spis treści

...

A simple color picker with all basic tools for color selection. That includes Red/Green/Blue sliders with input fields and additional Alpha channel that can be disabled in the inspector, Dropper tool, HSV palette and selecting color with its Hex value.

How

...

to use it?

Depending on your UI structure, you may want to use either the LayoutGroup prefab or RectTransform anchored prefab. They both scale in a different way, so you may want to try both to get the best results. You will find more detailed description of the prefabs below.

...

You can choose whether the alpha channel should be visible or not in the Inspector. You can also select the default color.

Components:

Selected Color:

Displays currently selected color and it’s alpha value.

HSV Palette:

Saturation/Brightness palette for the current Hue slider value. You can select the hue value with the Hue slider and then pick the color from the palette by mouse clicking/dragging.

R/G/B/A Controls:

Red, Green, Blue and alpha controls allow you to specify each color value separately. You can do that either with the input fields or with the sliders.

Hex Input.

Allows selecting color with its hexadecimal equivalent. It works exactly as in Unity3d:

...