Пример #1
0
 public void ResetUI()
 {
     Icon.sprite       = DefaultImage;
     QuantityText.text = "0";
     QuantityTextGO.SetActive(false);
     WornBarGO.SetActive(false);
     TheCanvasGroup.interactable   = false;
     TheCanvasGroup.blocksRaycasts = false;
 }
Пример #2
0
 public void UpdateDamageBar()
 {
     if (Item == null)
     {
         WornBarGO.SetActive(false);
     }
     else
     {
         WornBarGO.SetActive(true);
     }
 }