예제 #1
0
 void SetTextsLanguajes()
 {
     foreach (var t in texts)
     {
         t.textUI.text = dbLanguaje.GetLanguajeContent(languajeSelected, t.indexContent).content;
     }
 }
예제 #2
0
 public static void ShowWindow(ScriptableLanguaje db, int _id)
 {
     database            = db;
     idElement           = _id;
     window              = GetWindow <ContentModifiWindows>();
     window.titleContent = new GUIContent("Edit Content For Languajes");
     window.minSize      = new Vector2(300, 380);
     contents            = new List <string>();
     foreach (var idioma in db.GetLanguajes())
     {
         contents.Add(database.GetLanguajeContent(idioma, idElement).content);
     }
 }