Ejemplo n.º 1
0
 private void TranslateTexts()
 {
     // QuestInfos
     // Objectives
     transform.GetChild(0).GetChild(0).GetComponent <Text>().text             = Translater.MainQuestText(MainQuestTexts.Objective);
     transform.GetChild(0).GetChild(0).GetChild(0).GetComponent <Text>().text = Translater.MainQuestText(MainQuestTexts.ObjectiveInfo);
     transform.GetChild(0).GetChild(3).GetComponentInChildren <Text>().text   = Translater.MainQuestText(MainQuestTexts.Other);
     // QuestTitle
     transform.GetChild(1).GetComponentInChildren <Text>().text = Translater.MainQuestText(MainQuestTexts.Title);
 }