public void InitMemberByInstance(Halftone halftone)
 {
     scale      = halftone.scale;
     dotSize    = halftone.dotSize;
     angle      = halftone.angle;
     smoothness = halftone.smoothness;
     center     = halftone.center;
     desaturate = halftone.desaturate;
 }
        public HalftoneDef()
        {
            if (halftoneEffect == null)
            {
                halftoneEffect = Util.GetComponentVar <Halftone, HalftoneDef>(halftoneEffect);
            }

            scale      = 12f;
            dotSize    = 1.35f;
            angle      = 1.2f;
            smoothness = 0.080f;
            center     = new Vector2(0.5f, 0.5f);
            desaturate = false;
        }