Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = SelectedGroups?.ComputeHash() ?? 0;
         hashCode = (hashCode * 397) ^ (int)IncludedCollisionGroups;
         hashCode = (hashCode * 397) ^ BuildSettings.GetHashCode();
         if (Scene != null)
         {
             hashCode = (hashCode * 397) ^ Scene.Name.GetHashCode();
         }
         return(hashCode);
     }
 }