UnityMol  0.9.6-875
UnityMol viewer / In developement
ColorPickerLink.cs
Go to the documentation of this file.
1 using UnityEngine;
2 using System.Collections;
3 using UnityEngine.UI;
4 
5 public class ColorPickerLink : MonoBehaviour {
6 
7  public HSVPicker picker;
8 
9  // Use this for initialization
10  void Start () {
11 
12 // picker.onValueChanged.AddListener(color =>
13 // {
14 // gameObject.GetComponent<ColorHandler> ().color = color;
15 //
16 // });
17 // gameObject.GetComponent<ColorHandler> ().color = picker.currentColor;
18 
19  }
20 
21  // Update is called once per frame
22  void Update () {
23 
24  }
25 
26 
27 
28 }
HSVPicker picker