public void EnablePrice(NodeAddedEvent e, GarageListItemPriceNode item, [JoinAll] ScreenWithVisibleItemsInfoNode screen) { if (item.priceItem.IsBuyable) { item.garageListItemContent.PriceGameObject.SetActive(true); } else if (item.xPriceItem.IsBuyable) { item.garageListItemContent.XPriceGameObject.SetActive(true); } }
public void EnableUpgrade(NodeAddedEvent e, GarageListUserUpgradeItemNode item, [JoinAll] ScreenWithVisibleItemsInfoNode screen) { item.garageListItemContent.UpgradeGameObject.SetActive(true); }