Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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;
     }
 }
Ejemplo n.º 3
0
 public void ConvertFourth()
 {
     ConverterPanel.SetActive(false);
     OrderWarningPanel.SetActive(true);
 }