コード例 #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);
 }