Beispiel #1
0
    public override void CancelDetectSkill(Player.SkillData _nowSkill)
    {
        switch (_nowSkill)
        {
        case Player.SkillData.skill_Q:
            ProjectorManager.SwitchPorjector(projector_Q, false);
            break;

        case Player.SkillData.skill_W:
            ProjectorManager.SwitchPorjector(projector_W, false);
            break;

        case Player.SkillData.skill_R:
            ProjectorManager.SwitchPorjector(projector_W, false);
            break;

        case Player.SkillData.skill_E:
            projector_E.enabled = false;
            break;

        default:
            if (projector_Q[0].enabled)
            {
                ProjectorManager.SwitchPorjector(projector_Q, false);
            }
            if (projector_W[1].enabled)
            {
                ProjectorManager.SwitchPorjector(projector_W, false);
            }
            if (projector_E.enabled)
            {
                projector_E.enabled = false;
            }
            break;
        }
    }
Beispiel #2
0
 //關閉技能提示
 public virtual void CancelDetectSkill(Player.SkillData _nowSkill)
 {
 }