bool CheckAttractionCount(UnlockCondition condition) { UnlockConditionValue value = condition.unlockConditionValue; return(userInventory.HasEnoughAttractionOfGUID(value.guidData.guid, value.guidCount)); }