Пример #1
0
 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);
     }
 }
Пример #2
0
 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;
     }
 }
Пример #3
0
 public void ConvertFourth()
 {
     ConverterPanel.SetActive(false);
     OrderWarningPanel.SetActive(true);
 }