public static Font GetFont(string abPath, string assetName) { string key = abPath + "_" + assetName; Font font = null; myFonts.TryGetValue(key, out font); if (font == null && abManager != null) { font = abManager.LoadFontAsset(abPath, assetName); if (font != null) { myFonts.Add(key, font); } } return(font); }