Skill.GetCoolDown C# (CSharp) Méthode

GetCoolDown() public méthode

public GetCoolDown ( ) : float
Résultat float
    public float GetCoolDown()
    {
        return coolDown;
    }

Usage Example

Exemple #1
0
 /// <summary>
 /// Refreshes the skill detailed menu about the last selected skill
 /// </summary>
 /// <param name="skillToCareAbout">The last selected skill</param>
 private void RefreshSkillDetails()
 {
     if (_lastSkill != null)
     {
         Skill skillToCareAbout = _lastSkill;
         // Set the display information to go with the skill
         _skillIcon.sprite      = SkillHolder.GetSkillImage(skillToCareAbout.GetSkillNum());
         _skillNameText.text    = " " + SkillHolder.GetSkillName(skillToCareAbout.GetSkillNum());
         _skillDescription.text = SkillHolder.GetSkillDescription(skillToCareAbout.GetSkillNum());
         _damageText.text       = skillToCareAbout.GetDamage().ToString();
         _rangeText.text        = skillToCareAbout.GetRange().ToString();
         _cooldownText.text     = skillToCareAbout.GetCoolDown().ToString();
     }
 }
All Usage Examples Of Skill::GetCoolDown