void FixedUpdate() { if (!isPaused) { // Can only happen when unpaused Pause(); Move(); PlayerAnimation.Animate(isMoving(), anim, rb, isGrounded, (Input.GetAxis(P_RightTrigger) > 0.3f), health.IsDead()); } }
void LateUpdate() { animationController.Animate(); if (!GetComponent <PlayerCharacter>().isMe || GetComponent <Health>().hp <= 0) { return; } InputMovement.KeyboardCheck(); InputMovement.MouseCheck(); }
void FixedUpdate() { PA.Fall(); PA.Animate(); PC.Control(); }