technologies/Jitter/Collision/CollisionSystemPersistentSAP.cs
/// <summary>
/// Checks if two objects are equal.
/// </summary>
/// <param name="obj">The object to check against.</param>
/// <returns>Returns true if they are equal, otherwise false.</returns>
Checks if two objects are equal.
Checks if two objects are equal .
public override bool Equals(object obj)
            {
                BodyPair other = (BodyPair)obj;
                return (other.body1.Equals(body1) && other.body2.Equals(body2) ||
                    other.body1.Equals(body2) && other.body2.Equals(body1));
            }
public override bool Equals ( object obj ) { BodyPair other = ( BodyPair ) obj ; return ( other . body1 . Equals ( body1 ) && other . body2 . Equals ( body2 ) || other . body1 . Equals ( body2 ) && other . body2 . Equals ( body1 ) ) ; }
Checks if two objects are equal.
Checks if two objects are equal .
Returns true if they are equal, otherwise false.
Returns true if they are equal otherwise false .
obj
object
The object to check against.
The object to check against .