greg bosse ou je le tue

This commit is contained in:
esteb
2023-01-23 23:41:13 +01:00
parent b17f2e2a79
commit 7212059be4
20 changed files with 1540 additions and 12 deletions

View File

@@ -15,12 +15,18 @@ public class SwipeManagementScript : MonoBehaviour
public GameObject arrowLeft;
public GameObject arrowRight;
public GameObject arrow;
public GameObject arrowGravure;
public GameObject arrowXY;
public GameObject arrowHB;
public GameObject arrowPause;
public GameObject circleXY;
public GameObject circleHB;
public GameObject warning;
public Button buttonleft;
public Button buttonright;
@@ -36,8 +42,6 @@ public class SwipeManagementScript : MonoBehaviour
private GameObject image;
private Image imageUI;
public bool isQR;
// Start is called before the first frame update
void Start()
@@ -72,8 +76,6 @@ public class SwipeManagementScript : MonoBehaviour
SwipeUp();
}
}
if(isQR)
{
if(numberImage == 1){
arrow.SetActive(true);
warning.SetActive(false);
@@ -93,10 +95,38 @@ public class SwipeManagementScript : MonoBehaviour
{
header.text = "Placer la pièce à graver";
arrowGravure.SetActive(true);
}else{
arrowGravure.SetActive(false);
arrowXY.SetActive(false);
}
if(numberImage == 5)
{
header.text = "Mise au point : Tête de traitement";
arrowGravure.SetActive(false);
arrowXY.SetActive(true);
}
if(numberImage == 7)
{
header.text = "Mise au point : Outil focal";
arrowXY.SetActive(false);
arrowHB.SetActive(false);
}
if(numberImage == 8){
header.text = "Mise au point : Table de gravure";
arrowHB.SetActive(true);
}
if(numberImage == 10){
header.text = "Mise au point : Position du laser";
arrowHB.SetActive(false);
arrowXY.SetActive(true);
}
if(numberImage == 11){
header.text = "Procédure sur ordinateur";
arrowXY.SetActive(false);
arrowPause.SetActive(false);
}
else{
header.text = "Suivre la découpe";
arrowPause.SetActive(true);
}
}
}
private void NextText(){