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