8 public void RefreshLabel()
10 this.textLabel.SetText(this.GetLabel(this.ingredient.thing,
this.recipe.source.colorIng ==
this.recipe.ingredients.IndexOf(
this.ingredient)));
14 public string GetLabel(
Thing t,
bool showColor)
18 return string.Concat(
new string[]
27 HitSummary summary = Core.Instance.screen.tileSelector.summary;
29 return string.Concat(
new string[]
31 showColor ? (
"<color=" + t.material.matColor.ToHex() +
">■</color> ") :
"",
36 }) + ((summary.countValid == 0) ?
"" :
string.Concat(
new string[]
39 DropdownRecipe.colorCost.ToHex(),
41 (this.ingredient.req * summary.countValid).ToString(),
47 public static Color colorCost;
50 public static Color colorPredict;
56 public UIText textLabel;
59 public UIText orgLabel;