public bool IsUpdated(EditableEdge2D script) { if (!once) { return(true); } if (materialNum != script.materialNum) { return(true); } if (!additional.Equals(additional)) { return(true); } if (width != script.width) { return(true); } return(false); }
public void Update(EditableEdge2D script) { materialNum = script.materialNum; additional = script.additional; width = script.width; }