示例#1
0
 void EndRoll()
 {
     isInAction.value = false;
     hitboxController.EnableHitboxes();
     animController.SetAnimBool(animController.playerAnimData.isRollingBool, false);
     StopAbilityUsage();
 }
        void WakeUpFromKnockdown()
        {
            isKnockedDown             = false;
            isRecoveringFromKnockDown = true;

            hitboxController.EnableHitboxes();
            limbsController.DisableEntireRagdoll();
            healthController.doorCollider.SetActive(true);
            healthController.notificationCollider.SetActive(true);
            animController.animHook.enabled = true;
            animController.SetAnimInt(animController.animData.weaponAnimID, 0);
            animController.PlayAnimationHash(animController.animData.getNewWeaponAnimationClass);
            animController.SetAnimBool(animController.animData.isKnockedDown, false);
            StartCoroutine(FetchWeaponAfterGetUpTimer());

            knockDownNotificationCollider.enabled = false;
        }