Пример #1
0
    void Start()
    {
        c         = Col.Main;
        img.color = cc.GetColorMain(c);
        col       = img.color;
        RGBToHSV(img.color, out H, out S, out V);
        Hue.value        = H;
        Saturation.value = S;
        Value.value      = V;
        Alpha.value      = img.color.a;

        spec.onValueChanged.AddListener(SpecT);
        main.onValueChanged.AddListener(MainT);
        rim.onValueChanged.AddListener(RimT);
    }