Exemplo n.º 1
0
 private void Awake()
 {
     if (_instance == null)
     {
         _instance = this;
         DontDestroyOnLoad(gameObject);
     }
     else
     {
         Destroy(gameObject);
     }
     LoadLanguage();
 }
Exemplo n.º 2
0
 private void Start()
 {
     GetComponent <Text>().text = LoadAndReadFile.GetKey(key);
 }