@cc-component/cc-core 1.6.5 → 1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,6 @@ import { LanguageData, LanguageDataType, LanguageType } from "./LanguageData";
|
|
|
11
11
|
import { ResourceManager } from "../../home/ResourceManager";
|
|
12
12
|
import { SpriteFrame } from "cc";
|
|
13
13
|
import { sp } from "cc";
|
|
14
|
-
import { JsonUtil } from "../../home/JsonUtil";
|
|
15
14
|
|
|
16
15
|
export class LanguagePack {
|
|
17
16
|
/**
|
|
@@ -81,11 +80,11 @@ export class LanguagePack {
|
|
|
81
80
|
return;
|
|
82
81
|
}
|
|
83
82
|
|
|
84
|
-
App.LoadAsset(bundleName, path, TTFFont).then((font: TTFFont) => {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
});
|
|
83
|
+
// App.LoadAsset(bundleName, path, TTFFont).then((font: TTFFont) => {
|
|
84
|
+
// Logger.debug(path, "下载语言包 ttf 资源");
|
|
85
|
+
// LanguageData.font = font;
|
|
86
|
+
// resolve();
|
|
87
|
+
// });
|
|
89
88
|
});
|
|
90
89
|
}
|
|
91
90
|
|