public string GetText(SpiritType property) { AllText allText = AllText.Instance; if (allText != null) { return(allText.GetText(property.ToString())); } else { return(property.ToString()); } }
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()); } }