Пример #1
0
    public override void Cast()
    {
        //如果已有冰盾碰撞体则暂禁用碰撞体
        if (iceShieldColl.activeSelf)
        {
            iceShieldColl.SetActive(false);
        }
        iceShieldColl1.SetActive(false);
        iceShieldColl2.SetActive(false);
        iceShieldColl3.SetActive(false);

        playerAnim.SetUseSkillType(SkillType.IceShieldMash);
        iceAbility.FreezingZone(IceShieldMashFreezingZone);
    }
Пример #2
0
 public override void ReleaseSpell()
 {
     movementComponent.RequestMoveByTime(backVector, backTime, MovementPlayer.MovementMode.Ability);
     isOn = true;
     iceAbility.FreezingZone(iceShotFreezingZone);
 }
Пример #3
0
 public override void Cast()
 {
     playerAnim.SetUseSkillType(SkillType.IceThunder);
     iceAbility.FreezingZone(iceThunderFreezingZone[0]);
     iceAbility.FreezingZone(iceThunderFreezingZone[1]);
 }
Пример #4
0
 public override void Cast()
 {
     playerAnim.SetUseSkillType(SkillType.IceHammer);
     iceAbility.FreezingZone(iceShotFreezingZone);
 }