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); }
void Awake() { RippleControl.Initialize(); thisImage = gameObject.GetComponent <Graphic>(); }
void Awake() { RippleControl.Initialize(); Setup(); }