コード例 #1
0
ファイル: Cv_AetherContact.cs プロジェクト: jocamar/Caravel
        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
ファイル: Cv_VelcroContact.cs プロジェクト: jocamar/Caravel
        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);
        }