/// <summary> /// 阿拉伯数字转为汉字(支持0-9) /// </summary> /// <param name="number"></param> /// <returns></returns> public static string GetChineseNumber(int number) { if (number >= 0 && number <= 9) { return(I18NHelper.GetText(chineseNumIndex + number)); } Debug.LogWarning(string.Format("输入的数字{0}不在0~9范围内!", number)); return(""); }