UnityMol
0.9.6-875
UnityMol viewer / In developement
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
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
}
ColorPickerLink
Definition:
ColorPickerLink.cs:5
ColorPickerLink.picker
HSVPicker picker
Definition:
ColorPickerLink.cs:7
UnityEngine.UI
System
ColorPickerLink.Update
void Update()
Definition:
ColorPickerLink.cs:22
UnityEngine
ColorPickerLink.Start
void Start()
Definition:
ColorPickerLink.cs:10
Assets
New GUI
ColorPickerLink.cs
Generated on Wed Aug 3 2016 15:10:26 for UnityMol by
1.8.11