IntVector2.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
	public override int GetHashCode() {
		unchecked {
			return x.GetHashCode() ^ y.GetHashCode();
		}
	}

Usage Example

Example #1
0
 public override int GetHashCode()
 {
     if (_storedAction is null)
     {
         return(direction.GetHashCode());
     }
     return(_storedAction.GetHashCode() ^ direction.GetHashCode());
 }
All Usage Examples Of IntVector2::GetHashCode