Commit 85c25b3a authored by liujiangnan's avatar liujiangnan

feat

parent fea25b2a
{"width":1024,"imagePath":"car_tex.png","height":1024,"name":"汽车皇后","SubTexture":[{"width":267,"y":1,"height":142,"name":"汽车皇后/图层97","x":744},{"width":756,"y":284,"height":55,"name":"汽车皇后/图层133","x":1},{"width":99,"y":437,"height":77,"name":"汽车皇后/座椅","x":583},{"width":106,"y":341,"height":94,"name":"汽车皇后/右手","x":583},{"width":165,"y":321,"height":158,"name":"汽车皇后/衣服","x":759},{"width":216,"y":145,"height":174,"name":"汽车皇后/头","x":759},{"width":92,"y":486,"height":24,"name":"汽车皇后/图层_5","x":434},{"width":86,"y":456,"height":28,"name":"汽车皇后/眼睛","x":434},{"width":147,"y":341,"height":113,"name":"汽车皇后/左手","x":434},{"width":135,"y":341,"height":185,"name":"汽车皇后/左手_0","x":1},{"width":741,"y":1,"height":281,"name":"汽车皇后/图层129","x":1},{"width":146,"y":341,"height":146,"name":"汽车皇后/图层_1","x":286},{"width":81,"y":404,"height":81,"name":"汽车皇后/图层_3","x":926},{"width":146,"y":341,"height":146,"name":"汽车皇后/图层_1_拷贝","x":138},{"width":81,"y":321,"height":81,"name":"汽车皇后/图层_3_拷贝","x":926}]}
\ No newline at end of file
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
"height": 1024, "height": 1024,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"汽车皇后_tex": { "car_tex": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "33f1d146-1b76-41fd-945a-3d9fae5b73e4", "uuid": "33f1d146-1b76-41fd-945a-3d9fae5b73e4",
"rawTextureUuid": "c4fe23ba-20aa-4672-8156-395274f31a0c", "rawTextureUuid": "c4fe23ba-20aa-4672-8156-395274f31a0c",
......
{"width":1024,"imagePath":"汽车皇后_tex.png","height":1024,"name":"汽车皇后","SubTexture":[{"width":267,"y":1,"height":142,"name":"汽车皇后/图层97","x":744},{"width":756,"y":284,"height":55,"name":"汽车皇后/图层133","x":1},{"width":99,"y":437,"height":77,"name":"汽车皇后/座椅","x":583},{"width":106,"y":341,"height":94,"name":"汽车皇后/右手","x":583},{"width":165,"y":321,"height":158,"name":"汽车皇后/衣服","x":759},{"width":216,"y":145,"height":174,"name":"汽车皇后/头","x":759},{"width":92,"y":486,"height":24,"name":"汽车皇后/图层_5","x":434},{"width":86,"y":456,"height":28,"name":"汽车皇后/眼睛","x":434},{"width":147,"y":341,"height":113,"name":"汽车皇后/左手","x":434},{"width":135,"y":341,"height":185,"name":"汽车皇后/左手_0","x":1},{"width":741,"y":1,"height":281,"name":"汽车皇后/图层129","x":1},{"width":146,"y":341,"height":146,"name":"汽车皇后/图层_1","x":286},{"width":81,"y":404,"height":81,"name":"汽车皇后/图层_3","x":926},{"width":146,"y":341,"height":146,"name":"汽车皇后/图层_1_拷贝","x":138},{"width":81,"y":321,"height":81,"name":"汽车皇后/图层_3_拷贝","x":926}]}
\ No newline at end of file
This diff is collapsed.
...@@ -87,7 +87,7 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -87,7 +87,7 @@ export class MyCocosSceneComponent extends cc.Component {
preload() { preload() {
const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList); const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList);
cc.assetManager.loadAny(preloadArr, null, null, (err, data) => { cc.assetManager.loadAny(preloadArr, null, null, async (err, data) => {
if (window && window["air"]) { if (window && window["air"]) {
// window["air"].onCourseInScreen = (next) => { // window["air"].onCourseInScreen = (next) => {
...@@ -95,7 +95,7 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -95,7 +95,7 @@ export class MyCocosSceneComponent extends cc.Component {
// this.onLoadEnd(); // this.onLoadEnd();
// next(); // next();
// }; // };
this.onLoadEnd(); await this.onLoadEnd();
window["air"].hideAirClassLoading(); window["air"].hideAirClassLoading();
} else { } else {
this.onLoadEnd(); this.onLoadEnd();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment