/// <summary> /// Process the move calculations regarding the inputs, and call ApplyMove to make the character moving. /// </summary> private void ProcessMove() { if (_currentLogic != null) { var move = _characterController.velocity; var rotation = transform.rotation; _currentLogic.CalcVelocityAndRotation(ref move, ref rotation); ApplyMove(move); transform.rotation = rotation; } AnimCharacterWalking(); }