/// <summary> /// Always set the Player back to DirectionalInput if you're using normal 3rd Person View with the rotation based at the camera. /// If you're using Topdown or Isometric view, make sure to check the option rotateByWorld. /// </summary> public void SetDirectionalInput() { gameplayInputStyle = GameplayInputStyle.DirectionalInput; cc.rotateByWorld = false; }
/// <summary> /// If you need you character to move automatically on a cutscene, always change the gamePlayInputStyle to Click and Move /// </summary> public void SetClickAndMove() { gameplayInputStyle = GameplayInputStyle.ClickAndMove; cursorPoint = transform.position; cc.rotateByWorld = true; }