public void ConvertThird() { if (!secondConverted) { ConverterPanel.SetActive(false); OrderWarningPanel.SetActive(true); } else { ConverterPanel.SetActive(false); MachineBreakdownPanel.SetActive(true); FirstConvertButton.SetActive(false); SecondConvertButton.SetActive(false); ThirdConvertButton.SetActive(false); FourthConvertButton.SetActive(false); } }
public void ConvertSecond() { if (!firstConverted) { ConverterPanel.SetActive(false); OrderWarningPanel.SetActive(true); } else if (SecondPartInput.text != "5") { ConverterPanel.SetActive(false); WarningPanel.SetActive(true); } else { StartCoroutine(ConvertSecondCoroutine()); secondConverted = true; } }
public void ConvertFourth() { ConverterPanel.SetActive(false); OrderWarningPanel.SetActive(true); }