Is there a Way to transform this into Android Touch ?

Hi, i am having some troubles to pass my game to android because i am using AxisRaw and i wanna know if i can translate this code to touch terms or change anything to make it work at touch screen.

             if (Input.GetAxisRaw("Horizontal") > 0.5f || Input.GetAxisRaw("Horizontal") < -0.5) { 

            myRigidbody.velocity = new Vector2(Input.GetAxisRaw("Horizontal") * moveSpeed, myRigidbody.velocity.y);
            playermoving = true;
            lastMove = new Vector2(Input.GetAxisRaw("Horizontal"), 0f);
        }

        if (Input.GetAxisRaw("Vertical") > 0.5f || Input.GetAxisRaw("Vertical") < -0.5) {
            

            myRigidbody.velocity = new Vector2(myRigidbody.velocity.x, Input.GetAxisRaw("Vertical") * moveSpeed);
            playermoving = true;
            lastMove = new Vector2(0f, Input.GetAxisRaw("Vertical"));
        }

       
        if (Input.GetAxisRaw("Horizontal") < 0.5f && Input.GetAxisRaw("Horizontal") > -0.5) {
            myRigidbody.velocity = new Vector2(0f, myRigidbody.velocity.y);
        }

        if (Input.GetAxisRaw("Vertical") < 0.5f && Input.GetAxisRaw("Vertical") > -0.5) {
            myRigidbody.velocity = new Vector2(myRigidbody.velocity.x, 0f);
        }
    }

Create some UI panel (in any corner like screen joystick or transparent fullscreen) with script. This script will implements IEndDragHandler, IDragHandler:

using UnityEngine;
using UnityEngine.EventSystems;

public class Drag : MonoBehaviour, IEndDragHandler, IDragHandler
{
	private Vector2 _swipeDir;

	void IEndDragHandler.OnEndDrag(PointerEventData eventData)
	{
		_swipeDir += eventData.delta;

		print("Swipe: " + _swipeDir);
		_swipeDir = Vector2.zero;
	}

	void IDragHandler.OnDrag(PointerEventData eventData)
	{
		_swipeDir += eventData.delta;
	}

	void Update()
	{
		Vector2 axis = new Vector2(_swipeDir.x / Screen.width, _swipeDir.y / Screen.height);

		// your code here... use axis instead Input.GetAxis()
	}
}