Esempio n. 1
0
        // 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>();
        }
Esempio n. 2
0
 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>();
 }