public void ReInit(Reagent newReagent, float amount, GUI_ChemMaster tab)
 {
     Reagent       = newReagent;
     reagentAmount = amount;
     chemMasterTab = tab;
     reagentName.SetValueServer(Reagent.Name);
     reagentAmountDisplay.SetValueServer($"{reagentAmount:F2}u");
 }
示例#2
0
 public void ReInit(GUI_ChemMaster tab)
 {
     chemMasterTab = tab;
     productImage.SetSprite(transform.GetSiblingIndex());
 }