This commit is contained in:
esteb
2023-01-24 16:42:33 +01:00
parent dee9311aaa
commit ad9cb0faa4
4 changed files with 80 additions and 700 deletions

View File

@@ -27,9 +27,6 @@ public class SwipeManagementScript : MonoBehaviour
public GameObject warning;
public Button buttonleft;
public Button buttonright;
public Animator m_Animator;
public TMP_Text textNumber;
@@ -50,10 +47,6 @@ public class SwipeManagementScript : MonoBehaviour
textSteps.text = lengths[0].text;
textNumber.text = "Step 1/" + (lengthTexts+1);
arrowLeft.gameObject.SetActive(false);
Button btnLeft = buttonleft.GetComponent<Button>();
Button btnRight = buttonright.GetComponent<Button>();
btnLeft.onClick.AddListener(PreviousText);
btnRight.onClick.AddListener(NextText);
}
// Update is called once per frame