Пример #1
0
        private void Cooldown(CommandTag commandTag)
        {
            string label = GetComponent <UITextData>().GetStringData(
                UITextCategoryTag.ActorStatus, UITextDataTag.Cooldown);
            int currentCooldown = skillManager.GetCurrentCooldown(commandTag);
            int maxCooldown     = skillManager.GetMaxCooldown(commandTag);

            SearchText(UITag.CooldownText).text = label;
            SearchText(UITag.CooldownData).text
                = currentCooldown + " / " + maxCooldown;
        }
Пример #2
0
 private void Cooldown(CommandTag commandTag)
 {
     SearchText(UITag.CooldownText).text = "CD";
     SearchText(UITag.CooldownData).text
         = skillManager.GetMaxCooldown(commandTag).ToString();
 }