Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Color Picker

$
0
0
I created a color picker for anyone to use. GitHub Repo

View attachment 111810
Should be really easy to use. Just add the prefab to the canvas, hook up an even, and it's good to go.
Code (CSharp):
  1. public Renderer renderer;
  2.     public HSVPicker picker;
  3.  
  4.     // Use this for initialization
  5.     void Start ()
  6.     {
  7.         picker.onValueChanged.AddListener(color =>
  8.         {
  9.             renderer.material.color = color;...
Color Picker

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>