public override bool Equals(object other) { //just check distance, ignore segment if (Vector2.Distance ((other as RoadPoint).point, this.point) < 0.01f) return true; return false; }