Пример #1
0
        public override bool Equals(Cv_Contact other)
        {
            if (other is Cv_AetherContact)
            {
                var aetherContact = other as Cv_AetherContact;

                if (aetherContact.m_Contact == m_Contact)
                {
                    return(true);
                }
            }

            return(false);
        }
Пример #2
0
        public override bool Equals(Cv_Contact other)
        {
            if (other is Cv_VelcroContact)
            {
                var velcroContact = other as Cv_VelcroContact;

                if (velcroContact.m_Contact == m_Contact)
                {
                    return(true);
                }
            }

            return(false);
        }