Пример #1
0
    void FixedUpdate()
    {
        controller.Move(horizontalMove * Time.fixedDeltaTime, false, jump);
        jump = false;

        if (dashing)
        {
            transform.position += direction * dashSpeed * Time.deltaTime;
        }
    }