コード例 #1
0
    static public string LocalizeText(string key, List <string> parameters)
    {
        key = RemoveQuotes(key);
        string basicText  = Manager_StaticData.getLocalizationTextFromKey(key, currentLanguage);
        string parsedText = ParseString(basicText, new List <Resources_Character>(), parameters);

        parsedText = RemoveQuotes(parsedText);
        return(parsedText);
    }
コード例 #2
0
 static public string GetButtonTextKey(string dialogueOptionKey)
 {
     return(Manager_StaticData.ButtonKeyFromDialogueKey(dialogueOptionKey));
 }