GetSkillName() public method

public GetSkillName ( ) : string
return string
コード例 #1
0
    public void DisplayToolTip()
    {
        skillName.text        = associatedSkill.GetSkillName().ToString();
        tierNumber.text       = "Tier " + associatedSkill.GetCurrentTier().ToString();
        skillDescription.text = associatedSkill.GetSkillDescription();
        tierValue.text        = associatedSkill.GetTierDescriptiveString();

        toolTipGroup.gameObject.SetActive(true);
    }
コード例 #2
0
        public SkillRunner(Skill s, int position)
        {
            running = true;
            if (s.GetSkillType() == SkillType.ColorTrigger)
            {
                c = new Coordinate(s.GetX(), s.GetY());
                inputHexColorCode = s.GetColor();
                boxSend           = position.ToString();
                delay             = 50;
                t = new Thread(RunColorTrigger);
            }
            else if (s.GetSkillType() == SkillType.TimeTrigger)
            {
                c       = new Coordinate(s.GetX(), s.GetY());
                boxSend = position.ToString();
                delay   = s.GetDelayTime();
                t       = new Thread(RunTimeTrigger);
            }
            else if (s.GetSkillType() == SkillType.AuslaufTrigger)
            {
            }
            else
            {
                if (s.GetSkillName() == SkillName.HungeringArrow)
                {
                    delay   = 1;
                    t       = new Thread(RunMomentum);
                    boxSend = position.ToString();
                }
            }

            if (position == 2)
            {
                c.SetX(c.GetX() + 66);
            }
            else if (position == 3)
            {
                c.SetX(c.GetX() + 133);
            }
            else if (position == 4)
            {
                c.SetX(c.GetX() + 200);
            }
        }
コード例 #3
0
    public void UISkillChooseInstance(Skill _skill)
    {
        skillImage.sprite = _skill.getSprite();
        nameText.text     = _skill.GetSkillName();

        manacostText.text = _skill.GetManacost().ToString();
        cooldownText.text = _skill.GetSkillCooldownTime().ToString();

        if (_skill.GetIsSkillPassive() == true)
        {
            descriptionText.text = "<color=#FF000088>Пассивный: </color>" + _skill.GetSkillDescription();
        }
        else
        {
            descriptionText.text = _skill.GetSkillDescription();
        }

        literatureText.text = _skill.GetSkillLiteratureDescription();
    }
コード例 #4
0
 public override string ToString()
 {
     return("UseSkill [" + Skill.Index + "] " + Skill.GetSkillName(Skill.Index));
 }
コード例 #5
0
 public void AddSkill(SkillType type)
 {
     AddSkill(Skill.GetSkillName(type));
 }