Example #1
0
    void Update()
    {
        if (inputHandler.GetOnMoveClick(out Vector3 position))
        {
            movementSystem.MoveTo(position);
        }

        animator.SetFloat("speedMovement", movementSystem.DeltaSpeed);
    }