Pathfinding.Int2.Equals C# (CSharp) Method

Equals() public method

public Equals ( System o ) : bool
o System
return bool
		public override bool Equals (System.Object o) {
			if (o == null) return false;
			Int2 rhs = (Int2)o;
			
			return x == rhs.x && y == rhs.y;
		}