private void LateUpdate() { if (_isPeekEnabled) { _slowWalkController.GetSpeed(); _verticalLean.Lean(); _horizontalLean.Lean(); return; } _verticalLean.Restore(); _horizontalLean.Restore(); }
public override void Load() { _movementController.Speed = speed; _movementController.MoveTime = moveTime; if (!isSlowWalkUsing) { return; } _slowWalkController.IsMoving = true; _slowWalkController.UseStarted?.Invoke(); _slowWalkController.GetSpeed(); }