How can i bring the Colorbox in unity

Hi All

In my project When i click the button the Default Color Box should comes. and i have to choose the color and then the button color should change.

I dont want new color box. I have to use the existing color box of the unity. How can i bring that.

Its in the preferences menu. OSX Color Picker

Thanks Karl_jones For your Reply. How can i use this.How can i call through scripting… Color Box Should apply. I want simple coding. to use the existing color box.

Hi is it possible to use this command EditorGUI.ColorField in function
for eg:
if (buttonNo==1)
EditorGui.ColorField
Then the Color Box Will Populate …

You want to use the Unity Editor’s color picker in your game? No, you can’t do that.

1 Like

Thanks KelsoMRK For You Reply. How can i bring the color Box. Is there no simple coding to bring color box? in unity.

I think this is what you’re looking for: