Пример #1
0
    public void changeActiveToggle(SkillBar skillBar)
    {
        if (skill1 != skillBar)
        {
            skill1.DisableSkill();
        }

        if (skill2 != skillBar)
        {
            skill2.DisableSkill();
        }

        if (skill3 != skillBar)
        {
            skill3.DisableSkill();
        }
    }