Exemple #1
0
 public void IncrementTartes()
 {
     cptTartes.value += 0.1f;
     if (cptTartes.value >= 1f)
     {
         canvasTartes.gameObject.SetActive(false);
         DeplacementJoueur.setFightingStance(false);
         dualActive   = false;
         tientEmploye = true;
     }
 }
 // Start is called before the first frame update
 void Start()
 {
     scriptSuivreSouris = gameObject.GetComponent <SuivreSourisArc>();
     auSolScr           = gameObject.GetComponent <DeplacementJoueur>();
 }
Exemple #3
0
 private void Epreuve()
 {
     estPresEmploye.GetComponent <ComportementEmploye>().Fight();
     DeplacementJoueur.setFightingStance(true);
     SpamTarteDansTaTronche();
 }