Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        audioSource = GetComponent <AudioSource>();
        activerDesactiverAudio(true);

        string date = Utilitaire.EnglishDayToFrench(System.DateTime.Now.DayOfWeek.ToString()) + " " + System.DateTime.Now.Day + " " +
                      Utilitaire.NumberToMonth(System.DateTime.Now.Month) + " " + System.DateTime.Now.Year;

        dateText.text = date;
        boutons.Add(bouton1);
        boutons.Add(bouton2);
        boutons.Add(bouton3);
        boutons.Add(bouton4);


        questionnaire              = OnClickMatieres.questionnaireChoisi;
        nombreQuestionsRestantes   = OnClickMatieres.nombreQuestionsChoisi;
        totalReponsesText.text     = "0";
        bonnesReponsesText.text    = "0";
        mauvaisesReponsesText.text = "0";

        nouvelleQuestion();
    }