public static void SaveFonts(this GUISkin current, string path, bool includeBuiltin = true) { foreach (var style in current.GetStyles()) { if (!style.font.IsNull()) { string assetPath = File.GetAssetPath(style.font); string savePath = path + "/" + assetPath.GetPathTerm(); if (!includeBuiltin && assetPath.Contains("unity editor resources")) { continue; } if (!File.Exists(savePath)) { ProxyEditor.CopyAsset(assetPath, savePath); } } } }