protected override bool Equals(GraphicData <Image> obj) { var that = (ImageData)obj; if (that == null) { return(false); } return(this.sprite == that.sprite && this.type == that.type && this.fillAmount == that.fillAmount && this.fillCenter == that.fillCenter && this.fillClockwise == that.fillClockwise && this.fillMethod == that.fillMethod && this.fillOrigin == that.fillOrigin && this.useSpriteMesh == that.useSpriteMesh && this.preserveAspect == that.preserveAspect && this.maskable == that.maskable); }
protected override bool Equals(GraphicData <Text> obj) { var that = (TextData)obj; if (that == null) { return(false); } return(this.text == that.text //&& this.font == that.font && this.fontSize == that.fontSize && this.fontStyle == that.fontStyle && this.lineSpacing == that.lineSpacing && this.supportRichText == that.supportRichText && this.alignment == that.alignment && this.alignByGeometry == that.alignByGeometry && this.horizontalOverflow == that.horizontalOverflow && this.verticalOverflow == that.verticalOverflow && this.resizeTextForBestFit == that.resizeTextForBestFit && this.maskable == that.maskable); }
protected abstract bool Equals(GraphicData <G> g);