예제 #1
0
 public override void SetPanel()
 {
     if (constructor.isActive)
     {
         constructor.ConstructOFF();
     }
     if (descriptionPanel.lastTouched.lvl >= 2)
     {
         upgradeBtn.interactable = false;
         return;
     }
     descriptionPanel.Hide();
     gameObject.SetActive(true);
     GameController.instance.IsGameSceneEnabled = false;
     descriptionPanel.lastTouched.ConfirmUpgrade(this);
 }