예제 #1
0
    void OnDisable()
    {
        StopAllCoroutines();

        isCharging                = false;
        isAttacking               = false;
        isMax                     = false;
        chargeCounter             = 0;
        animator.speed            = 1f;
        movementScript.MoveSlower = false;
        camShaker.SetBivrate(0);
        if (chargeGauge != null)
        {
            chargeGauge.SetActive(false);
        }
        animator.SetFloat("ChargeMultiplier", 1f);
        animator.Play("Idle");

        weaponParent.SetActive(false);
    }