This commit is contained in:
esteb
2023-01-25 17:12:07 +01:00
parent 63091d5a4b
commit 550b72d0e2
6 changed files with 324 additions and 740 deletions

View File

@@ -32,7 +32,6 @@ public class SwipeManagementScript : MonoBehaviour
public Animator m_Animator;
public List<int> images;
private Vector2 startTouchPosition;
@@ -82,7 +81,7 @@ public class SwipeManagementScript : MonoBehaviour
if(numberImage == 2)
{
header.text = "Initialisation : Sécurité";
header2.text = "Initialisationzzzzz : Sécurité";
header2.text = "Initialisation : Sécurité";
arrow.SetActive(false);
warning.SetActive(true);
}
@@ -141,7 +140,7 @@ public class SwipeManagementScript : MonoBehaviour
if(numberImage < lengthTexts)
{
numberImage ++;
if(numberImage == lengthTexts){
if(numberImage +1 == lengthTexts){
arrowRight.gameObject.SetActive(false);
}else{
arrowRight.gameObject.SetActive(true);