コード例 #1
0
 protected void Awake()
 {
     langue = ReadFile();
     // if (overlay != null)
     //     SetOverlay();
     singleton = this;
 }
コード例 #2
0
    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;
    }