public void InitMemberByInstance(ComicBook comicBook)
 {
     stripAngle      = comicBook.stripAngle;
     stripDensity    = comicBook.stripDensity;
     stripThickness  = comicBook.stripThickness;
     stripLimits     = comicBook.stripLimits;
     stripInnerColor = comicBook.stripInnerColor;
     stripOuterColor = comicBook.stripOuterColor;
     fillColor       = comicBook.fillColor;
     backgroundColor = comicBook.backgroundColor;
     edgeDetection   = comicBook.edgeDetection;
     edgeThreshold   = comicBook.edgeThreshold;
     edgeColor       = comicBook.edgeColor;
     amount          = comicBook.amount;
 }
        public ComicBookDef()
        {
            if (comicBookEffect == null)
            {
                comicBookEffect = Util.GetComponentVar <ComicBook, ComicBookDef>(comicBookEffect);
            }

            stripAngle      = 0.6f;
            stripDensity    = 180f;
            stripThickness  = 0.5f;
            stripLimits     = new Vector2(0.25f, 0.4f);
            stripInnerColor = new Color(0.3f, 0.3f, 0.3f);
            stripOuterColor = new Color(0.8f, 0.8f, 0.8f);
            fillColor       = new Color(0.1f, 0.1f, 0.1f);
            backgroundColor = Color.white;
            edgeDetection   = false;
            edgeThreshold   = 5f;
            edgeColor       = Color.black;
            amount          = 1f;
        }