public static Font2Font GetFont2Font(string name) { if (FontList.ContainsKey(name) == true) { //Debug.LogWarning("xFont:命中" + FontList.Count.ToString()); return(FontList[name]); } else { //Debug.LogWarning("xFont:脱吧" + FontList.Count.ToString()); return(FontList.First().Value); } }