commit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user