public bool Equals(CoreData other) { if (!other.isValid || !isValid) { Debug.LogWarning("CoreData: comparing invalid cds"); return(false); } return(Name.Equals(other.Name) && BaseName.Equals(other.BaseName) && size.Equals(other.size) && scale.Equals(other.scale)); }