protected override void UpdateFont(TranslationManager.FontMap fontMap, string fontKey)
 {
     if (changeFontOnStyle == true)
     {
         Label.font = fontMap.GetFontUgui(fontKey, Label.fontStyle);
     }
     else
     {
         Label.font = fontMap.GetFontUgui(fontKey);
     }
 }
 private void UpdateFont(TranslationManager parser)
 {
     if (parser != null)
     {
         TranslationManager.FontMap map = parser.CurrentLanguageFont;
         if (map != null)
         {
             UpdateFont(map, fontKey);
         }
     }
 }
Exemplo n.º 3
0
 void UpdateFont()
 {
     if (Parser != null)
     {
         TranslationManager.FontMap map = Parser.CurrentLanguageFont;
         if (map != null)
         {
             Label.font = map.GetFontAsset(fontKey);
         }
     }
 }
 void UpdateFont()
 {
     TranslationManager.FontMap map = Parser.CurrentLanguageFont;
     if (map != null)
     {
         if (changeFontOnStyle == true)
         {
             Label.font = map.GetFont(fontKey, Label.fontStyle);
         }
         else
         {
             Label.font = map.GetFont(fontKey);
         }
     }
 }
 protected override void UpdateFont(TranslationManager.FontMap fontMap, string fontKey)
 {
     Label.font = fontMap.GetFontUgui(fontKey);
 }
 protected abstract void UpdateFont(TranslationManager.FontMap fontMap, string fontKey);