示例#1
0
 public void OnPointerDown(PointerEventData eventData)
 {
     img.color = Color.Lerp(c1.GetComponent <Image>().color, c2.GetComponent <Image>().color, .5f);
     SceneController.Instance.colorPalette.SetActive(false);
     Test.Instance.drawColor = img.color;
 }
示例#2
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     But.GetComponent <Image>().color = Color.grey;
 }
示例#3
0
 public void SetColor(Color c)
 {
     b_Color.GetComponent <Image>().color = c;
 }