Пример #1
0
 public void UnlockButtonClicked()
 {
     if (crystalManager.IsEnoughCrystal(Mathf.RoundToInt(priceToUnlock)))
     {
         crystalManager.DecreaseCrystal(Mathf.RoundToInt(priceToUnlock));
         isUnlock = false;
         lockPanel.SetActive(false);
     }
 }