public bool CanCoexistWith(GameConditionDef other)
 {
     if (this == other)
     {
         return(false);
     }
     return(this.exclusiveConditions == null || !this.exclusiveConditions.Contains(other));
 }
Example #2
0
 public bool CanCoexistWith(GameConditionDef other)
 {
     if (this == other)
     {
         return(false);
     }
     if (exclusiveConditions != null)
     {
         return(!exclusiveConditions.Contains(other));
     }
     return(true);
 }