greg bosse ou je le tue
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user