示例#1
0
    public void CancelNowSkill()
    {
        switch (SkillState)
        {
        case SkillData.skill_Q:
            canSkill_Q = true;
            break;

        case SkillData.skill_W:
            canSkill_W = true;
            break;

        case SkillData.skill_E:
            canSkill_E = true;
            break;

        case SkillData.skill_R:
            canSkill_R = true;
            break;

        default:
            break;
        }
        skillManager.CancelDetectSkill(SkillState);
        SkillState = SkillData.None;
    }