Ejemplo n.º 1
0
    public string[] GetHunter_PlayerText(E_HunterState state, HunterIdea hunter)
    {
        string          pt1      = null;
        string          pt2      = null;
        Hunter_TextData textData = hunterText.dataArray[(int)state];

        switch (LanguageManager.GetInstance().Language)
        {
        case E_Language.KOREAN:
            pt1 = textData.Playertext1kor;
            pt2 = textData.Playertext2kor;
            break;

        case E_Language.ENGLISH:
            pt1 = textData.Playertext1eng;
            pt2 = textData.Playertext2eng;
            break;
        }
        string[] result;
        if (pt2 == "-")
        {
            result    = new string[1];
            result[0] = pt1;
        }
        else
        {
            result    = new string[2];
            result[0] = pt1;
            result[1] = pt2;
        }
        return(result);
    }
Ejemplo n.º 2
0
    public string GetHunterText(E_HunterState state, HunterIdea hunter)
    {
        string          result   = "";
        Hunter_TextData textData = hunterText.dataArray[(int)state];

        switch (LanguageManager.GetInstance().Language)
        {
        case E_Language.KOREAN:
            result = textData.Charatextkor;
            break;

        case E_Language.ENGLISH:
            result = textData.Charatexteng;
            break;
        }
        return(result);
    }