Example #1
0
 protected virtual bool HasCurrentLanguage()
 {
     if (textTable == null)
     {
         return(false);
     }
     return(textTable.HasLanguage(PixelCrushers.DialogueSystem.Localization.language));
     //---Was: (for LocalizedTextTable)
     //foreach (var language in textTable.languages)
     //{
     //    if (string.Equals(language, PixelCrushers.DialogueSystem.Localization.language))
     //    {
     //        return true;
     //    }
     //}
     //return false;
 }