예제 #1
0
        void Awake()
        {
            RippleControl.Initialize();
            thisImage   = GetComponent <Image>();
            rippleColor = thisImage.color;
            float h = 0f;
            float s = 0f;
            float v = 0f;

            Color.RGBToHSV(rippleColor, out h, out s, out v);
            rippleColor = Color.HSVToRGB(h, s, v - 0.3f);
        }
예제 #2
0
 void Awake()
 {
     RippleControl.Initialize();
     thisImage = gameObject.GetComponent <Graphic>();
 }
예제 #3
0
 void Awake()
 {
     RippleControl.Initialize();
     Setup();
 }