public static void SetupSingleResourceUI(int amount, CurrencyType type, UXLabel label, UXSprite sprite, int credits, int materials, int contraband, int crystals) { label.Text = amount.ToString(); UXUtils.SetupCurrencySprite(sprite, type); UXUtils.UpdateCostColor(label, null, credits, materials, contraband, crystals, 0, false); }