public void Enter() { RunAnimation(); BasicMovement.StopHorizontal(movementController); AdvancedMovement.Crouch(movementController); }
public void Enter() { RunAnimation(); movementController.SetPhysicsMaterialSlope(movementController.IsOnSlope()); BasicMovement.StopHorizontal(movementController, true); AdvancedMovement.Crouch(movementController); timeInSeconds = 0d; }
public void Enter() { canSprint = true; playerController.canAirDash = false; timeInSeconds = 0; animationController.RunAnimation(animations.dash, PlayerTimings.DASH_TIMES, ref animate, false); AdvancedMovement.Crouch(movementController); }
public void Enter() { timeInSeconds = 0; animationController.SetSprite(animations.crouch[0]); AdvancedMovement.Crouch(movementController); movementController.SetPhysicsMaterialSlope(movementController.IsOnSlope()); BasicMovement.StopHorizontal(movementController, true); }