Method Equals
Equals(Object)
Returns a value that indicates whether the current instance is equal to a specified object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to make the comparison with. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(Vector2)
Returns a value that indicates whether the current instance is equal to the specified object.
Declaration
public bool Equals(Vector2 other)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | other | Object to make the comparison with. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(ref Vector2, ref Vector2)
Determines whether the specified object instances are considered equal.
Declaration
public static bool Equals(ref Vector2 value1, ref Vector2 value2)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | value1 | The first value to compare. |
Vector2 | value2 | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean |
|