Jitter.Collision.CollisionSystemPersistentSAP.BodyPair.Equals C# (CSharp) Method

Equals() public method

Checks if two objects are equal.
public Equals ( object obj ) : bool
obj object The object to check against.
return bool
            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));
            }
CollisionSystemPersistentSAP.BodyPair