Example #1
0
 void OnTranslationChanged(object sender, FileSystemEventArgs e)
 {
     //reload translations
     Logger.LogMessage("Detected change in " + Path.GetFileName(e.FullPath));
     TranslationRepository.LoadTranslations();
 }
Example #2
0
 public void Awake()
 {
     //load translations from translation directory
     TranslationRepository.LoadTranslations();
 }