public string GetText(SpiritType property)
    {
        AllText allText = AllText.Instance;

        if (allText != null)
        {
            return(allText.GetText(property.ToString()));
        }
        else
        {
            return(property.ToString());
        }
    }
예제 #2
0
    public override string ToString()
    {
        AllText all = AllText.Instance;

        if (all == null)
        {
            return(text);
        }
        else
        {
            return(all.GetText(name));
        }
    }
    public string GetText(UnitStatsProperty property)
    {
        AllText allText = AllText.Instance;

        if (allText != null)
        {
            return(allText.GetText(property.ToString()));
        }
        else
        {
            return(property.ToString());
        }
    }