- Home /
Is there a build in color picker in unity?
I need a color picker in my GUI.
Is there a build in color Picker in Unity 3D? Or do i have to make it all by my self from scratch?
Answer by Eric5h5 · Jun 23, 2010 at 04:40 PM
You have to make one.
Not the answer i want to hear, but an answer which helps! :)
@Pirate___man: Well, I couldn't think of anything else to say that was relevant. ;) If I knew of some color picker code that someone had written, I would have linked to that, but alas I don't.
Well i found some code in the unity3d forum, but thats not what i realy want. http://forum.unity3d.com/viewtopic.php?p=218187 So now i did it by my self.
Answer by vikingfabian-com · Aug 27, 2014 at 01:02 PM
Not for in-game-gui, there is one for the editor though:
Color newColor = EditorGUILayout.ColorField("Color tint", Color.white);
Sorry, I got hung up on the title, I will edit my answer...
Your answer
Follow this Question
Related Questions
I am trying to make this color picker script work 2 Answers
Can I use EditorGUI class outside Unity? 1 Answer
Window Background Image not showing 1 Answer
Equipment Screen Display 1 Answer
NGUI: Duplicate/Rotate? 0 Answers