public override void OnStateEnter()
 {
     _animationsController.ApplyRootMotion(true);
     _playerController.StartCoroutine(RestartGame());
 }
Beispiel #2
0
 private void ClimbLadder()
 {
     _animationsController.ApplyRootMotion(true);
     _animationsController.Climb(true);
 }
 private void ClimbLadder()
 {
     _animationsController.ApplyRootMotion(true);
     _physicsController.HasGravity = false;
     _animationsController.Climb(true);
 }