Пример #1
0
    // Token: 0x0600106B RID: 4203
    public void PerformWallDash()
    {
        this.m_chargeDashAtTarget = false;
        SoundProvider dashSound = (!SeinDashAttack.RainbowDashActivated) ? this.DashSound : this.RainbowDashSound;

        this.PerformDash(this.DashAnimation, dashSound);
        this.ChangeState(SeinDashAttack.State.Dashing);
        this.UpdateDashing();
        SeinDashAttack.OnWallDashEvent();
    }
Пример #2
0
    // Token: 0x0600106A RID: 4202
    public void PerformDash()
    {
        this.m_chargeDashAtTarget = false;
        SoundProvider dashSound = (!SeinDashAttack.RainbowDashActivated) ? this.DashSound : this.RainbowDashSound;
        bool          isGliding = this.m_sein.Controller.IsGliding;

        this.PerformDash((!isGliding) ? this.DashAnimation : this.GlideDashAnimation, dashSound);
        this.ChangeState(SeinDashAttack.State.Dashing);
        this.UpdateDashing();
        SeinDashAttack.OnDashEvent();
    }