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"); }
public void ReInit(GUI_ChemMaster tab) { chemMasterTab = tab; productImage.SetSprite(transform.GetSiblingIndex()); }