Example #1
0
 private void Reflash()
 {
     for (int i = 0; i < 4; i++)
     {
         if (i < currentBuffs.Count)
         {
             abnormalIcons[i].sprite = uIManager.GetAbnormalIconSprite(currentBuffs[i]);
             abnormalIcons[i].gameObject.SetActive(true);
         }
         else
         {
             abnormalIcons[i].sprite = null;
             abnormalIcons[i].gameObject.SetActive(false);
         }
     }
 }