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());
 }