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