Example #1
0
 private void RefreshSlots(SkillSlot slot)
 {
     var slotIdx = slot.ToIndex();
     for (int i = 0; i != SPRPG.Const.SkillSlotSize; ++i)
         _slots[i].gameObject.SetActive(i == slotIdx);
 }
Example #2
0
 private void RefreshCurrentSlot(SkillSlot slot, float timing)
 {
     var slotImage = _slots[slot.ToIndex()];
     slotImage.SetAlpha(timing);
 }