using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SwipeScript : MonoBehaviour { public Text textSteps; public List lengths; public int numberImage; public int lengthTexts; public Button arrowLeft; public Button arrowRight; private Vector2 startTouchPosition; private Vector2 endTouchPosition; // Start is called before the first frame update void Start() { Button btnLeft = arrowLeft.GetComponent