コード例 #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
ファイル: IceShotSpell.cs プロジェクト: Yunshiyue/ElementGame
 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);
 }