Vector2i.Equals C# (CSharp) Method

Equals() public method

public Equals ( Vector2i, v ) : bool
v Vector2i,
return bool
    public bool Equals(Vector2i v)
    {
        return v.x == x && v.y == y;
    }

Usage Example

Ejemplo n.º 1
0
 public bool Equals(InstanceData other)
 {
     return(ID == other.ID &&
            Type == other.Type &&
            Position.Equals(other.Position) &&
            Orientation == other.Orientation);
 }
All Usage Examples Of Vector2i::Equals