private bool Equals(TreePrototype other) { bool flag = other == null; bool result; if (flag) { result = false; } else { bool flag2 = other == this; if (flag2) { result = true; } else { bool flag3 = base.GetType() != other.GetType(); if (flag3) { result = false; } else { bool flag4 = this.prefab == other.prefab && this.bendFactor == other.bendFactor && this.navMeshLod == other.navMeshLod; result = flag4; } } } return(result); }
private bool Equals(TreePrototype other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(other, this)) { return(true); } if (GetType() != other.GetType()) { return(false); } bool equals = prefab == other.prefab && bendFactor == other.bendFactor; return(equals); }