public override void Awake() { base.Awake(); height = UIConstants.WorkshopAssetRowHeight; width = UIConstants.WorkshopAssetRowWidth; _workshopAssetTypeIcon = CreateCellIcon(UIConstants.WorkshopAssetTypeIconXOffset, UIConstants.WorkshopAssetTypeYOffset); _workshopIdLabel = CreateCellLabel(UIConstants.WorkshopAssetWorkshopIdLabelXOffset, UIConstants.LabelYOffset, string.Empty); _workshopAssetNameLabel = CreateCellLabel(UIConstants.WorkshopAssetNameLabelXOffset, UIConstants.LabelYOffset, string.Empty); _numberUseLabel = CreateCellLabel(UIConstants.NumberUsedLabelXOffset, UIConstants.LabelYOffset, 0.ToString()); _workshopAssetShowInfoButton = CreateInfoCellButton(); _workshopAssetUnsubscribeButton = CreateUnsubscribeCellButton(); // zebra stripes background backgroundSprite = UIConstants.WorkshopAssetRowBackgroundSprite; }