// Use this for initialization protected override void Start() { base.Start(); toolbarStrings = new string[2]; toolbarStrings[0] = LanguageManager.Instance.GetTextValue("MainMenu.unlock"); toolbarStrings[1] = LanguageManager.Instance.GetTextValue("MainMenu.lock"); // Récupère la sauvegarde des achievements accomplis AchievementsSaveReader asr = FindObjectOfType<AchievementsSaveReader>(); am = FindObjectOfType<AchievementManager>(); List<string> achievCompleted = asr.getAchievementsCompleted(); if (achievCompleted != null) am.loadAchievements(achievCompleted); }