protected void Awake() { langue = ReadFile(); // if (overlay != null) // SetOverlay(); singleton = this; }
private void Awake() { if (instance != null) { Debug.LogWarning("Il y a plus d'une instance de LangueManager dans la scène"); return; } instance = this; //dictionaryDropdown = GameObject.FindGameObjectWithTag("LangueDropdown").GetComponent<DictionaryDropdown>(); //selectDropdown = dictionaryDropdown.selectDropdown; }