private void Animations(bool isJumping) { fpsAnimator.SetAiming(gunState.Data.IsAiming); fpsAnimator.SetGrounded(movement.IsGrounded); fpsAnimator.SetMovement(transform.position, Time.deltaTime); fpsAnimator.SetPitch(pitchTransform.transform.localEulerAngles.x); if (isJumping) { fpsAnimator.Jump(); } }
private void OnAiming(BlittableBool isAiming) { fpsAnimator.SetAiming(isAiming); }
private void OnAiming(bool isAiming) { fpsAnimator.SetAiming(isAiming); }