Ejemplo n.º 1
0
    public void Enter()
    {
        RunAnimation();

        BasicMovement.StopHorizontal(movementController);
        AdvancedMovement.Crouch(movementController);
    }
Ejemplo n.º 2
0
 public void Enter()
 {
     RunAnimation();
     movementController.SetPhysicsMaterialSlope(movementController.IsOnSlope());
     BasicMovement.StopHorizontal(movementController, true);
     AdvancedMovement.Crouch(movementController);
     timeInSeconds = 0d;
 }
Ejemplo n.º 3
0
    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);
    }