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