Esempio n. 1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetButtonDown("Jump"))
     {
         murChoisi = CreeNiveau.renvoieMur(murReference);
         BougeCameraRig bouge = GetComponent <BougeCameraRig>();
         bouge.choisitPiece(murChoisi);
     }
 }
Esempio n. 2
0
    void ajustePremiereSalle()
    {
        BougeCameraRig mouvement = GetComponent <BougeCameraRig>();

        if (mouvement != null)
        {
            mouvement.salleActive = renvoieSalle(mouvement.salleDepart);
        }
        else
        {
            BougeCameraRigQuentin mouvementQuentin = GetComponent <BougeCameraRigQuentin>();
            mouvementQuentin.salleActive = renvoieSalle(mouvementQuentin.salleDepart);
        }
    }
Esempio n. 3
0
    void ajustePremiereSalle()
    {
        BougeCameraRig mouvement = GetComponent <BougeCameraRig>();

        mouvement.salleActive = renvoieSalle(mouvement.salleDepart);
    }