public bool Equals(ref AddSubmeshArguments other) { return //!ReferenceEquals(material, null) && //!ReferenceEquals(other.material, null) && //material.GetInstanceID() == other.material.GetInstanceID() && (startSlot == other.startSlot && endSlot == other.endSlot && triangleCount == other.triangleCount && firstVertex == other.firstVertex); }
public bool Equals (ref AddSubmeshArguments other) { return !ReferenceEquals(material, null) && !ReferenceEquals(other.material, null) && material.GetInstanceID() == other.material.GetInstanceID() && startSlot == other.startSlot && endSlot == other.endSlot && triangleCount == other.triangleCount && firstVertex == other.firstVertex; }