// Update is called once per frame void Update() { if (Input.GetButtonDown("Jump")) { murChoisi = CreeNiveau.renvoieMur(murReference); BougeCameraRig bouge = GetComponent <BougeCameraRig>(); bouge.choisitPiece(murChoisi); } }
void ajustePremiereSalle() { BougeCameraRig mouvement = GetComponent <BougeCameraRig>(); if (mouvement != null) { mouvement.salleActive = renvoieSalle(mouvement.salleDepart); } else { BougeCameraRigQuentin mouvementQuentin = GetComponent <BougeCameraRigQuentin>(); mouvementQuentin.salleActive = renvoieSalle(mouvementQuentin.salleDepart); } }
void ajustePremiereSalle() { BougeCameraRig mouvement = GetComponent <BougeCameraRig>(); mouvement.salleActive = renvoieSalle(mouvement.salleDepart); }