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; }
public void OnPointerEnter(PointerEventData eventData) { But.GetComponent <Image>().color = Color.grey; }
public void SetColor(Color c) { b_Color.GetComponent <Image>().color = c; }