示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Enabled.GetHashCode();
         hashCode = (hashCode * 397) ^ Density.GetHashCode();
         hashCode = (hashCode * 397) ^ Friction.GetHashCode();
         hashCode = (hashCode * 397) ^ Elasticity.GetHashCode();
         hashCode = (hashCode * 397) ^ FrictionWeight.GetHashCode();
         hashCode = (hashCode * 397) ^ ElasticityWeight.GetHashCode();
         return(hashCode);
     }
 }