public override int GetHashCode() { unchecked { var hashCode = GoDeeper.GetHashCode(); hashCode = (hashCode * 397) ^ (Path != null ? Path.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ProjectPath != null ? ProjectPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AdditionalOffset != null ? AdditionalOffset.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsFile.GetHashCode(); return(hashCode); } }
public Vector2 ResultOffset() { return(-AdditionalOffset.ToVector2() - OffsetFromTopLeft.ToVector2()); }