// Use this for initialization void Start() { image = GetComponent <Image>(); rectTtransform = GetComponent <RectTransform>(); image.alphaHitTestMinimumThreshold = 1; svPick = GameObject.Find("S_And_V").GetComponent <S_V_pick>(); picker = transform.parent.GetComponent <ColorPicker>(); }
private void Start() { cprint = GameObject.Find("Panel (1)").GetComponent <ColorPrint>(); hPick = GameObject.Find("Color").GetComponent <HPick>(); svPick = GameObject.Find("S_And_V").GetComponent <S_V_pick>(); }