public bool Equals(BoxTexture other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && CornerArea.Equals(other.CornerArea) && Margins.Equals(other.Margins)); }
public bool Equals(TestUITexture other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Name, other.Name) && Width == other.Width && Height == other.Height && CornerArea.Equals(other.CornerArea) && Margins.Equals(other.Margins)); }