Ejemplo n.º 1
0
 private void FixedUpdate()
 {
     if (GameManager.Instance.GameState == GameManager.GameStates.Playing && IsRunning)
     {
         //Debug.Log(_input.MoveDirection);
         _mover.MoveAction(_horizontalMoveSpeed);
         _playerRotator.RotatePlayer(_input.MoveDirection, _rotateSpeed);
     }
 }