Color Picker

This is a floating colour picker dialog box for Unity 4.6 using the new GUI. It contains the full source code so you can tinker with it and make changes.


You can skin it however you like or use the current settings straight out of the box!

It features RGB color sliders or choose the color using the color pad and brightness bar.

The dialog box is pretty similar to the one you would find in many Windows programs such as Windows Paint.

Other features are that it shows the hex value of the colour.

The interaction with your code is very simple. First you specify a starting colour and then just specify two delegate functions for the OK and Cancel buttons.

This is a great fast way to add a colour picker to your project.
 
The colour picker is available here.

No comments:

Post a Comment