update
This commit is contained in:
@@ -1,7 +1,29 @@
|
|||||||
import { _decorator, AssetManager, assetManager, Component, Node, director, Prefab, resources, Sprite, SpriteFrame, Texture2D, v2, SpriteAtlas, ImageAsset, instantiate, AudioClip, Asset, JsonAsset, Material, VideoPlayer, VideoClip } from 'cc';
|
import {
|
||||||
|
_decorator,
|
||||||
|
AssetManager,
|
||||||
|
assetManager,
|
||||||
|
Component,
|
||||||
|
Node,
|
||||||
|
director,
|
||||||
|
Prefab,
|
||||||
|
resources,
|
||||||
|
Sprite,
|
||||||
|
SpriteFrame,
|
||||||
|
Texture2D,
|
||||||
|
v2,
|
||||||
|
SpriteAtlas,
|
||||||
|
ImageAsset,
|
||||||
|
instantiate,
|
||||||
|
AudioClip,
|
||||||
|
Asset,
|
||||||
|
JsonAsset,
|
||||||
|
Material,
|
||||||
|
VideoPlayer,
|
||||||
|
VideoClip,
|
||||||
|
} from "cc";
|
||||||
const { ccclass, property } = _decorator;
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
@ccclass('ResManager')
|
@ccclass("ResManager")
|
||||||
export default class ResManager {
|
export default class ResManager {
|
||||||
private static _I: ResManager = null;
|
private static _I: ResManager = null;
|
||||||
public static get I(): ResManager {
|
public static get I(): ResManager {
|
||||||
@@ -11,30 +33,26 @@ export default class ResManager {
|
|||||||
return ResManager._I;
|
return ResManager._I;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**切换场景 */
|
/**切换场景 */
|
||||||
enterScene(i_sceneName: string) {
|
enterScene(i_sceneName: string) {
|
||||||
director.loadScene(i_sceneName, () => { });
|
director.loadScene(i_sceneName, () => {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** 场景-跳转到主界面场景*/
|
/** 场景-跳转到主界面场景*/
|
||||||
goMainScene() {
|
goMainScene() {
|
||||||
this.enterScene('MainScene');
|
this.enterScene("MainScene");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 场景-跳转到游戏场景*/
|
/** 场景-跳转到游戏场景*/
|
||||||
goGameScene() {
|
goGameScene() {
|
||||||
this.enterScene('GameScene');
|
this.enterScene("GameScene");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 场景-跳转到自定义场景*/
|
/** 场景-跳转到自定义场景*/
|
||||||
goCustomScene(sceneName:string) {
|
goCustomScene(sceneName: string) {
|
||||||
this.enterScene(sceneName);
|
this.enterScene(sceneName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// /**加载bundle */
|
// /**加载bundle */
|
||||||
// loadBundle(bundleName, cb?) {
|
// loadBundle(bundleName, cb?) {
|
||||||
@@ -57,116 +75,132 @@ export default class ResManager {
|
|||||||
/**预加载bundle中的PB*/
|
/**预加载bundle中的PB*/
|
||||||
preLoadSubpackagePrefab(url: string, cb) {
|
preLoadSubpackagePrefab(url: string, cb) {
|
||||||
let bundle = assetManager.getBundle("PB");
|
let bundle = assetManager.getBundle("PB");
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.preload(url, Prefab, (err, res) => {
|
bundle.preload(url, Prefab, (err, res) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
cb && cb();
|
cb && cb();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
assetManager.loadBundle("PB", (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
"PB",
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.preLoadSubpackagePrefab(url, cb);
|
this.preLoadSubpackagePrefab(url, cb);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**预加载bundle中的文件*/
|
/**预加载bundle中的文件*/
|
||||||
preLoadSubpackageFile(url: string, pkgName: string, ftype, succCB, failCB) {
|
preLoadSubpackageFile(url: string, pkgName: string, ftype, succCB, failCB) {
|
||||||
let bundle = assetManager.getBundle(pkgName);
|
let bundle = assetManager.getBundle(pkgName);
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.preload(url, ftype, (err, res) => {
|
bundle.preload(url, ftype, (err, res) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
failCB && failCB(err);
|
failCB && failCB(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
succCB && succCB();
|
succCB && succCB();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
assetManager.loadBundle(pkgName, (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
pkgName,
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
failCB && failCB(err);
|
failCB && failCB(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.preLoadSubpackageFile(url, pkgName, ftype, succCB, failCB);
|
this.preLoadSubpackageFile(url, pkgName, ftype, succCB, failCB);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/** 加载bundle中的PB*/
|
/** 加载bundle中的PB*/
|
||||||
loadSubpackagePrefab(url: string, cb) {
|
loadSubpackagePrefab(url: string, cb) {
|
||||||
let bundle = assetManager.getBundle("Chat18x");
|
let bundle = assetManager.getBundle("Chat18x");
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load(url, Prefab, (err, res: Prefab) => {
|
bundle.load(url, Prefab, (err, res: Prefab) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
let cc_N = instantiate(res);
|
let cc_N = instantiate(res);
|
||||||
cb && cb(cc_N);
|
cb && cb(cc_N);
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
assetManager.loadBundle("PB", (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
"PB",
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.loadSubpackagePrefab(url, cb);
|
this.loadSubpackagePrefab(url, cb);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**获取pb节点 */
|
/**获取pb节点 */
|
||||||
getPrefab(path: string, cb: Function, target: Node) {
|
getPrefab(path: string, cb: Function, target: Node) {
|
||||||
this.loadSubpackagePrefab(path, (pb: Prefab) => {
|
this.loadSubpackagePrefab(path, (pb: Prefab) => {
|
||||||
if (target && !target.isValid) {
|
if (target && !target.isValid) {
|
||||||
pb.destroy()
|
pb.destroy();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pb['path'] = path;
|
pb["path"] = path;
|
||||||
cb && cb(pb);
|
cb && cb(pb);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** 加载bundle中的PB*/
|
/** 加载bundle中的PB*/
|
||||||
loadSubpackage3DModel(url: string, cb) {
|
loadSubpackage3DModel(url: string, cb) {
|
||||||
let bundle = assetManager.getBundle("Model3D");
|
let bundle = assetManager.getBundle("Model3D");
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load(url, Prefab, (err, res: Prefab) => {
|
bundle.load(url, Prefab, (err, res: Prefab) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
let cc_N = instantiate(res);
|
let cc_N = instantiate(res);
|
||||||
cb && cb(cc_N);
|
cb && cb(cc_N);
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
assetManager.loadBundle("Model3D", (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
"Model3D",
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.loadSubpackage3DModel(url, cb);
|
this.loadSubpackage3DModel(url, cb);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 改变图片--bundle资源 sprite-frame类型的图片*/
|
/** 改变图片--bundle资源 sprite-frame类型的图片*/
|
||||||
changeBundleVideo(spt: VideoPlayer, url: string, packageName: string, cb: Function = null) {
|
changeBundleVideo(
|
||||||
|
spt: VideoPlayer,
|
||||||
|
url: string,
|
||||||
|
packageName: string,
|
||||||
|
cb: Function = null
|
||||||
|
) {
|
||||||
if (!spt || !url) return;
|
if (!spt || !url) return;
|
||||||
let spttemp:any = spt
|
let spttemp: any = spt;
|
||||||
spttemp.frameUrl = url
|
spttemp.frameUrl = url;
|
||||||
let bundle = assetManager.getBundle(packageName);
|
let bundle = assetManager.getBundle(packageName);
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load(url, VideoClip, (err, res: VideoClip) => {
|
bundle.load(url, VideoClip, (err, res: VideoClip) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
if (!spt.isValid) {
|
if (!spt.isValid) {
|
||||||
return;
|
return;
|
||||||
@@ -178,27 +212,39 @@ export default class ResManager {
|
|||||||
//spt.spriteFrame = res;
|
//spt.spriteFrame = res;
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
assetManager.loadBundle(packageName, (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
packageName,
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.changeBundleVideo(spt, url, packageName, cb);
|
this.changeBundleVideo(spt, url, packageName, cb);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/** 改变图片--bundle资源 sprite-frame类型的图片*/
|
/** 改变图片--bundle资源 sprite-frame类型的图片*/
|
||||||
changeBundleSpriteFrame(spt: Sprite, url: string, packageName: string, cb: Function = null) {
|
changeBundleSpriteFrame(
|
||||||
|
spt: Sprite,
|
||||||
|
url: string,
|
||||||
|
packageName: string,
|
||||||
|
cb: Function = null,
|
||||||
|
fail: Function = null
|
||||||
|
) {
|
||||||
if (!spt || !url) return;
|
if (!spt || !url) return;
|
||||||
let spttemp:any = spt
|
let spttemp: any = spt;
|
||||||
spttemp.frameUrl = url
|
spttemp.frameUrl = url;
|
||||||
let bundle = assetManager.getBundle(packageName);
|
let bundle = assetManager.getBundle(packageName);
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load(url + "/spriteFrame", SpriteFrame, (err, res: SpriteFrame) => {
|
bundle.load(
|
||||||
|
url + "/spriteFrame",
|
||||||
|
SpriteFrame,
|
||||||
|
(err, res: SpriteFrame) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
if (!spt.isValid) {
|
if (!spt.isValid) {
|
||||||
return;
|
return;
|
||||||
@@ -208,93 +254,108 @@ export default class ResManager {
|
|||||||
}
|
}
|
||||||
spt.spriteFrame = res;
|
spt.spriteFrame = res;
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
});
|
}
|
||||||
}else{
|
);
|
||||||
assetManager.loadBundle(packageName, (err: Error, _bundle: AssetManager.Bundle) => {
|
} else {
|
||||||
|
assetManager.loadBundle(
|
||||||
|
packageName,
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.changeBundleSpriteFrame(spt, url, packageName, cb);
|
this.changeBundleSpriteFrame(spt, url, packageName, cb);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/** 改变图片--bundle资源 texture类型的图片*/
|
/** 改变图片--bundle资源 texture类型的图片*/
|
||||||
changeBundleTexture(spt: Sprite, url: string, packageName: string, cb: Function = null) {
|
changeBundleTexture(
|
||||||
|
spt: Sprite,
|
||||||
|
url: string,
|
||||||
|
packageName: string,
|
||||||
|
cb: Function = null
|
||||||
|
) {
|
||||||
if (!spt || !url) return;
|
if (!spt || !url) return;
|
||||||
let bundle = assetManager.getBundle(packageName);
|
let bundle = assetManager.getBundle(packageName);
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load(url + "/texture", Texture2D, (err, res: Texture2D) => {
|
bundle.load(url + "/texture", Texture2D, (err, res: Texture2D) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
if (!spt.isValid) {
|
if (!spt.isValid) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let spriteFrame = new SpriteFrame()
|
let spriteFrame = new SpriteFrame();
|
||||||
spriteFrame.texture = res
|
spriteFrame.texture = res;
|
||||||
spt.spriteFrame = spriteFrame;
|
spt.spriteFrame = spriteFrame;
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
assetManager.loadBundle(packageName, (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
packageName,
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.changeBundleTexture(spt, url, packageName, cb);
|
this.changeBundleTexture(spt, url, packageName, cb);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** 加载bundle中的音频文件*/
|
/** 加载bundle中的音频文件*/
|
||||||
getBundleAudio(url: string, cb) {
|
getBundleAudio(url: string, cb) {
|
||||||
let bundle = assetManager.getBundle("Audio");
|
let bundle = assetManager.getBundle("Audio");
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load(url, AudioClip, (err, res: AudioClip) => {
|
bundle.load(url, AudioClip, (err, res: AudioClip) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
assetManager.loadBundle("Audio", (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
"Audio",
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.getBundleAudio(url, cb);
|
this.getBundleAudio(url, cb);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** 加载bundle中的配置表*/
|
/** 加载bundle中的配置表*/
|
||||||
loadSubpackageDataTable(url: string, cb) {
|
loadSubpackageDataTable(url: string, cb) {
|
||||||
let bundle = assetManager.getBundle("DataTable");
|
let bundle = assetManager.getBundle("DataTable");
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load(url, JsonAsset, (err, res: JsonAsset) => {
|
bundle.load(url, JsonAsset, (err, res: JsonAsset) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
assetManager.loadBundle("DataTable", (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
"DataTable",
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.loadSubpackagePrefab(url, cb);
|
this.loadSubpackagePrefab(url, cb);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
//region 加载远程音频
|
//region 加载远程音频
|
||||||
/** 加载远程资源*/
|
/** 加载远程资源*/
|
||||||
@@ -302,10 +363,10 @@ export default class ResManager {
|
|||||||
assetManager.loadRemote<AudioClip>(url, (err, res: AudioClip) => {
|
assetManager.loadRemote<AudioClip>(url, (err, res: AudioClip) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 加载远程资源*/
|
/** 加载远程资源*/
|
||||||
@@ -337,12 +398,20 @@ export default class ResManager {
|
|||||||
* @param suffix 图片后缀名
|
* @param suffix 图片后缀名
|
||||||
* @param cb 回调函数
|
* @param cb 回调函数
|
||||||
*/
|
*/
|
||||||
changeRemoteSpriteFrame(spt: Sprite, url: string, suffix: string = 'png', cb: Function = null) {
|
changeRemoteSpriteFrame(
|
||||||
|
spt: Sprite,
|
||||||
|
url: string,
|
||||||
|
suffix: string = "png",
|
||||||
|
cb: Function = null
|
||||||
|
) {
|
||||||
if (!spt || !url) return;
|
if (!spt || !url) return;
|
||||||
assetManager.loadRemote<ImageAsset>(url, {ext: '.'+suffix}, (err, res: ImageAsset) => {
|
assetManager.loadRemote<ImageAsset>(
|
||||||
|
url,
|
||||||
|
{ ext: "." + suffix },
|
||||||
|
(err, res: ImageAsset) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
if (!spt.isValid) {
|
if (!spt.isValid) {
|
||||||
return;
|
return;
|
||||||
@@ -355,10 +424,9 @@ export default class ResManager {
|
|||||||
|
|
||||||
spt.spriteFrame = spriteFrame;
|
spt.spriteFrame = spriteFrame;
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
/** 加载resources里的PB path:不带后缀*/
|
/** 加载resources里的PB path:不带后缀*/
|
||||||
@@ -369,17 +437,17 @@ export default class ResManager {
|
|||||||
} else {
|
} else {
|
||||||
// loader.rlease(path);
|
// loader.rlease(path);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
/** 加载resources里的图片*/
|
/** 加载resources里的图片*/
|
||||||
private loadResourceRes(path: string, cb) {
|
private loadResourceRes(path: string, cb) {
|
||||||
resources.load(path, ImageAsset, (err, res: ImageAsset) => {
|
resources.load(path, ImageAsset, (err, res: ImageAsset) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
/** 加载resources里图集里的图片*/
|
/** 加载resources里图集里的图片*/
|
||||||
// 加载 SpriteAtlas(图集),并且获取其中的一个 SpriteFrame
|
// 加载 SpriteAtlas(图集),并且获取其中的一个 SpriteFrame
|
||||||
@@ -397,10 +465,13 @@ export default class ResManager {
|
|||||||
/** 改变图片--resources里sprite-frame类型的图片*/
|
/** 改变图片--resources里sprite-frame类型的图片*/
|
||||||
changeResourceSpriteFrame(spt: Sprite, path: string, cb: Function = null) {
|
changeResourceSpriteFrame(spt: Sprite, path: string, cb: Function = null) {
|
||||||
if (!spt || !path) return;
|
if (!spt || !path) return;
|
||||||
resources.load(path + "/spriteFrame", SpriteFrame, (err, res: SpriteFrame) => {
|
resources.load(
|
||||||
|
path + "/spriteFrame",
|
||||||
|
SpriteFrame,
|
||||||
|
(err, res: SpriteFrame) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
if (!spt.isValid) {
|
if (!spt.isValid) {
|
||||||
return;
|
return;
|
||||||
@@ -408,7 +479,8 @@ export default class ResManager {
|
|||||||
|
|
||||||
spt.spriteFrame = res;
|
spt.spriteFrame = res;
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
})
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
/** 改变图片--resources里texture类型的图片*/
|
/** 改变图片--resources里texture类型的图片*/
|
||||||
changeResourceTexture(spt: Sprite, path: string, cb: Function = null) {
|
changeResourceTexture(spt: Sprite, path: string, cb: Function = null) {
|
||||||
@@ -416,78 +488,79 @@ export default class ResManager {
|
|||||||
resources.load(path + "/texture", Texture2D, (err, res: Texture2D) => {
|
resources.load(path + "/texture", Texture2D, (err, res: Texture2D) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
if (!spt.isValid) {
|
if (!spt.isValid) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let spriteFrame = new SpriteFrame()
|
let spriteFrame = new SpriteFrame();
|
||||||
spriteFrame.texture = res
|
spriteFrame.texture = res;
|
||||||
spt.spriteFrame = spriteFrame;
|
spt.spriteFrame = spriteFrame;
|
||||||
cb && cb(res);
|
cb && cb(res);
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//设置图片置灰
|
//设置图片置灰
|
||||||
SetGray(spt: Sprite, isGray: boolean) {
|
SetGray(spt: Sprite, isGray: boolean) {
|
||||||
//cc.assetManager.builtins.getBuiltin("material", "builtin-" + name)
|
//cc.assetManager.builtins.getBuiltin("material", "builtin-" + name)
|
||||||
if (isGray) {
|
if (isGray) {
|
||||||
let bundle = assetManager.getBundle("Materials");
|
let bundle = assetManager.getBundle("Materials");
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load("ui_sprite_gray", Material, (err, res: Material) => {
|
bundle.load("ui_sprite_gray", Material, (err, res: Material) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
// spt.setSharedMaterial(res, 0)
|
// spt.setSharedMaterial(res, 0)
|
||||||
spt.customMaterial = res
|
spt.customMaterial = res;
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
assetManager.loadBundle("Materials", (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
"Materials",
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.SetGray(spt, isGray);
|
this.SetGray(spt, isGray);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// spt.setSharedMaterial(null, 0)
|
// spt.setSharedMaterial(null, 0)
|
||||||
spt.customMaterial = null
|
spt.customMaterial = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**设置图片模糊*/
|
/**设置图片模糊*/
|
||||||
SetBlur(spt: Sprite, isBule: boolean) {
|
SetBlur(spt: Sprite, isBule: boolean) {
|
||||||
if (isBule) {
|
if (isBule) {
|
||||||
let bundle = assetManager.getBundle("Materials");
|
let bundle = assetManager.getBundle("Materials");
|
||||||
if (bundle){
|
if (bundle) {
|
||||||
bundle.load("mohu", Material, (err, res: Material) => {
|
bundle.load("mohu", Material, (err, res: Material) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
// spt.setSharedMaterial(res, 0)
|
// spt.setSharedMaterial(res, 0)
|
||||||
spt.customMaterial = res
|
spt.customMaterial = res;
|
||||||
});
|
});
|
||||||
}else{
|
} else {
|
||||||
assetManager.loadBundle("Materials", (err: Error, _bundle: AssetManager.Bundle) => {
|
assetManager.loadBundle(
|
||||||
|
"Materials",
|
||||||
|
(err: Error, _bundle: AssetManager.Bundle) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.SetBlur(spt, isBule);
|
this.SetBlur(spt, isBule);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// spt.setSharedMaterial(null, 0)
|
// spt.setSharedMaterial(null, 0)
|
||||||
spt.customMaterial = null
|
spt.customMaterial = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,23 +4,22 @@ import GameRootUI from "../Main/Common/GameRootUI";
|
|||||||
const { ccclass, property } = _decorator;
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
//主界面场景
|
//主界面场景
|
||||||
@ccclass('MainScene')
|
@ccclass("MainScene")
|
||||||
export class MainScene extends Component {
|
export class MainScene extends Component {
|
||||||
|
|
||||||
@property(Node)
|
@property(Node)
|
||||||
UIRoot: Node = null
|
UIRoot: Node = null;
|
||||||
@property(Node)
|
@property(Node)
|
||||||
UILayerMod: Node = null
|
UILayerMod: Node = null;
|
||||||
@property(Camera)
|
@property(Camera)
|
||||||
MainCamera: Camera = null
|
MainCamera: Camera = null;
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
//每个场景必须添加的
|
//每个场景必须添加的
|
||||||
let gameRootUI = this.node.getComponent(GameRootUI)
|
let gameRootUI = this.node.getComponent(GameRootUI);
|
||||||
if (!gameRootUI){
|
if (!gameRootUI) {
|
||||||
gameRootUI = this.node.addComponent(GameRootUI)
|
gameRootUI = this.node.addComponent(GameRootUI);
|
||||||
gameRootUI.InitByCreate(this.UIRoot, this.UILayerMod, "ThemePanel");
|
gameRootUI.InitByCreate(this.UIRoot, this.UILayerMod, "MainPanel");
|
||||||
}
|
}
|
||||||
GameRootUI.MainCamera = this.MainCamera
|
GameRootUI.MainCamera = this.MainCamera;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,228 @@
|
|||||||
|
import {
|
||||||
|
_decorator,
|
||||||
|
Component,
|
||||||
|
Node,
|
||||||
|
instantiate,
|
||||||
|
Label,
|
||||||
|
Sprite,
|
||||||
|
UITransform,
|
||||||
|
} from "cc";
|
||||||
|
import li_BaseView from "db://assets/Scripts/Main/Common/li_BaseView";
|
||||||
|
import Utils from "db://assets/Scripts/Main/Common/Utils";
|
||||||
|
import { GButton } from "db://assets/Scripts/Main/Common/GButton";
|
||||||
|
import ResManager from "db://assets/Scripts/Main/Manager/ResManager";
|
||||||
|
import { ThemeItem } from "../../uiitems/ThemeItem";
|
||||||
|
import { NavigationManager } from "../../manager/NavigationManager";
|
||||||
|
import { GirlListItem } from "../../uiitems/GirlListItem";
|
||||||
|
import LanguageUtils from "../../../Main/Common/LanguageUtils";
|
||||||
|
import { ViewManager } from "../../../Main/Manager/ViewManager";
|
||||||
|
import { InnerMsgCode } from "../../../Main/Config/InnerMsgCode";
|
||||||
|
import { ThemeService } from "db://assets/Scripts/chat18x/network/services/ThemeService";
|
||||||
|
import { GirlService } from "db://assets/Scripts/chat18x/network/services/GirlService";
|
||||||
|
import { ShopService } from "db://assets/Scripts/chat18x/network/services/ShopService";
|
||||||
|
import { DataManager, DataId } from "../../data/DataManager";
|
||||||
|
import { ThemeData } from "../../data/ThemeData";
|
||||||
|
import { GirlData } from "../../data/GirlData";
|
||||||
|
import { WalletData } from "../../data/WalletData";
|
||||||
|
import { AccountData } from "../../data/AccountData";
|
||||||
|
|
||||||
|
import { ShopData } from "../../data/ShopData";
|
||||||
|
import proto from "db://assets/Scripts/proto/proto.pb.js";
|
||||||
|
import GameRootUI from "../../../Main/Common/GameRootUI";
|
||||||
|
|
||||||
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
|
@ccclass("MainPanel")
|
||||||
|
export class MainPanel extends li_BaseView {
|
||||||
|
private _nodeTab: any = {};
|
||||||
|
|
||||||
|
coinNum: Label;
|
||||||
|
uid: Label;
|
||||||
|
itemInst: GirlListItem;
|
||||||
|
content: Node;
|
||||||
|
private vipLeftTime: Label;
|
||||||
|
recId: number;
|
||||||
|
recName: Label;
|
||||||
|
recSprite: Sprite;
|
||||||
|
|
||||||
|
cache: ThemeItem[] = [];
|
||||||
|
|
||||||
|
onLoadCT() {
|
||||||
|
Utils.parseNode(this.node, this._nodeTab);
|
||||||
|
|
||||||
|
this.coinNum = this._nodeTab.coinNum.getComponent(Label);
|
||||||
|
this.uid = this._nodeTab.uid.getComponent(Label);
|
||||||
|
this.recName = this._nodeTab.characterNameText.getComponent(Label);
|
||||||
|
this.recSprite = this._nodeTab.recPicSlot.getComponent(Sprite);
|
||||||
|
this.vipLeftTime = this._nodeTab.vipText.getComponent(Label);
|
||||||
|
|
||||||
|
this.registerListener();
|
||||||
|
this.itemInst = this._nodeTab.ThemeItem.getComponent(ThemeItem);
|
||||||
|
this.itemInst.node.active = false;
|
||||||
|
this.content = this._nodeTab.allThemecontent;
|
||||||
|
|
||||||
|
this.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
rectNameKey: string;
|
||||||
|
async Show() {
|
||||||
|
//some temp data
|
||||||
|
this.refreshCoinNum();
|
||||||
|
this.refreshVipExpire();
|
||||||
|
const accountData = DataManager.I.getDataById<AccountData>(DataId.Account);
|
||||||
|
this.uid.string = "uid: " + accountData.accId;
|
||||||
|
this.recId = 1;
|
||||||
|
if (this.cache) {
|
||||||
|
for (let i = this.cache.length - 1; i >= 0; i--) {
|
||||||
|
this.cache[i].node.destroy();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this._nodeTab.loadingRec.active = true;
|
||||||
|
// 请求主题数据
|
||||||
|
const reqData = {};
|
||||||
|
let res = await ThemeService.I.reqHallTheme(reqData);
|
||||||
|
if (res && res.code === proto.cs.EnmRetCode.SUCCESS) {
|
||||||
|
// 保存数据
|
||||||
|
const themeData = DataManager.I.getDataById<ThemeData>(DataId.Theme);
|
||||||
|
themeData.themes = res.data;
|
||||||
|
// 根据数据,刷新界面
|
||||||
|
const themeIds = themeData.themeIds;
|
||||||
|
for (let id of themeIds) {
|
||||||
|
let newNode = instantiate(this.itemInst.node);
|
||||||
|
let item = newNode.getComponent(ThemeItem);
|
||||||
|
item.refresh(id);
|
||||||
|
newNode.active = true;
|
||||||
|
this.cache.push(item);
|
||||||
|
this.content.addChild(newNode);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 请求每日推荐
|
||||||
|
const reqData2 = {};
|
||||||
|
let res2 = await GirlService.I.reqDailyRecommend(reqData2);
|
||||||
|
if (res2 && res2.code === proto.cs.EnmRetCode.SUCCESS) {
|
||||||
|
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
|
||||||
|
girlData.setDailyRecommend(res2.data);
|
||||||
|
// 根据数据,刷新界面
|
||||||
|
this.recId = girlData.getRecommendGirlId();
|
||||||
|
this.rectNameKey = girlData.getRecommendGrilName();
|
||||||
|
let avatarPath = girlData.getRecommendGrilAvatar();
|
||||||
|
this.recName.string = LanguageUtils.getText(this.rectNameKey);
|
||||||
|
ResManager.I.changeBundleSpriteFrame(
|
||||||
|
this.recSprite,
|
||||||
|
avatarPath,
|
||||||
|
"Girls",
|
||||||
|
() => {
|
||||||
|
let sizeTran = this.recSprite.node.parent.getComponent(UITransform);
|
||||||
|
Utils.adjustBgPixelRatioToSize(
|
||||||
|
sizeTran.contentSize,
|
||||||
|
this.recSprite.node,
|
||||||
|
1
|
||||||
|
);
|
||||||
|
this._nodeTab.loadingRec.active = false;
|
||||||
|
},
|
||||||
|
() => {
|
||||||
|
this._nodeTab.loadingRec.active = false;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取商品列表,提前把数据拿下来
|
||||||
|
this.reqShopList();
|
||||||
|
}
|
||||||
|
|
||||||
|
private registerListener() {
|
||||||
|
GButton.BandClick(this._nodeTab.settingBtn, this.openSetting, this);
|
||||||
|
GButton.BandClick(this._nodeTab.msgBoxBtn, this.openMsgBox, this);
|
||||||
|
|
||||||
|
GButton.BandClick(this._nodeTab.ChatWithRecBtn, this.chatWithRec, this);
|
||||||
|
|
||||||
|
GButton.BandClick(this._nodeTab.ShopPanelEntry, this.enterShop, this);
|
||||||
|
|
||||||
|
Utils.addInnerEL(InnerMsgCode.LanguageChange, this, () => {
|
||||||
|
this.recName.string = LanguageUtils.getText(this.rectNameKey);
|
||||||
|
});
|
||||||
|
Utils.addInnerEL(InnerMsgCode.BalanceChange, this, () => {
|
||||||
|
this.refreshCoinNum();
|
||||||
|
});
|
||||||
|
Utils.addInnerEL(InnerMsgCode.VipExpireChange, this, () => {
|
||||||
|
this.refreshVipExpire();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
enterShop() {
|
||||||
|
ViewManager.I.openBundlesView("PurchasePanel");
|
||||||
|
}
|
||||||
|
|
||||||
|
chatWithRec() {
|
||||||
|
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
|
||||||
|
|
||||||
|
// 是否已经解锁
|
||||||
|
const isRelease = girlData.getIsRelease(
|
||||||
|
girlData.getGrilCategoryById(this.recId).toString(),
|
||||||
|
this.recId
|
||||||
|
);
|
||||||
|
const isFree =
|
||||||
|
girlData.getGrilPrice(
|
||||||
|
girlData.getGrilCategoryById(this.recId).toString(),
|
||||||
|
this.recId
|
||||||
|
) == 0;
|
||||||
|
if (isRelease || isFree) {
|
||||||
|
NavigationManager.Instance.navigateToGirlDetail(this.recId);
|
||||||
|
GameRootUI.I.hideDefaultView();
|
||||||
|
} else {
|
||||||
|
//未解锁
|
||||||
|
ViewManager.I.openBundlesPopupView("GirlListPopupPanel", {
|
||||||
|
base: this,
|
||||||
|
category: girlData.getGrilCategoryById(this.recId),
|
||||||
|
id: this.recId,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
openSetting() {
|
||||||
|
ViewManager.I.openBundlesView("SettingPanel");
|
||||||
|
}
|
||||||
|
|
||||||
|
openMsgBox() {
|
||||||
|
console.log("打开信箱");
|
||||||
|
}
|
||||||
|
|
||||||
|
// 刷新余额
|
||||||
|
private refreshCoinNum() {
|
||||||
|
const walletData = DataManager.I.getDataById<WalletData>(DataId.Wallet);
|
||||||
|
const balance = walletData.getOriginalBalance();
|
||||||
|
this.coinNum.string = balance.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 刷新 vip失效时间戳
|
||||||
|
private refreshVipExpire() {
|
||||||
|
const walletData = DataManager.I.getDataById<WalletData>(DataId.Wallet);
|
||||||
|
const vipExpire = walletData.vipExpire;
|
||||||
|
const leftTime = Utils.formatVipLeftTime(vipExpire);
|
||||||
|
this.vipLeftTime.string = LanguageUtils.getText(
|
||||||
|
"purchasepanel.vip_left"
|
||||||
|
).replace("${leftTime}", leftTime);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取商品列表
|
||||||
|
async reqShopList() {
|
||||||
|
// 请求购买商品
|
||||||
|
const reqData = {};
|
||||||
|
let res = await ShopService.I.reqShopList(reqData);
|
||||||
|
if (res && res.code === proto.cs.EnmRetCode.SUCCESS) {
|
||||||
|
const resData = res.data;
|
||||||
|
// 保存数据
|
||||||
|
const shopData = DataManager.I.getDataById<ShopData>(DataId.Shop);
|
||||||
|
shopData.goods = res.data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
onDestroy(): void {
|
||||||
|
Utils.removeInnerEL(InnerMsgCode.LanguageChange, this, () => {
|
||||||
|
this.recName.string = LanguageUtils.getText(this.rectNameKey);
|
||||||
|
});
|
||||||
|
Utils.removeInnerEL(InnerMsgCode.BalanceChange, this, () => {});
|
||||||
|
Utils.removeInnerEL(InnerMsgCode.VipExpireChange, this, () => {});
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "4.0.24",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "07c2bbbb-c191-4393-87d2-5c233eb8f756",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
@@ -77,6 +77,7 @@ export class ThemePanel extends li_BaseView {
|
|||||||
this.cache[i].node.destroy();
|
this.cache[i].node.destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this._nodeTab.loadingRec.active = true;
|
||||||
// 请求主题数据
|
// 请求主题数据
|
||||||
const reqData = {};
|
const reqData = {};
|
||||||
let res = await ThemeService.I.reqHallTheme(reqData);
|
let res = await ThemeService.I.reqHallTheme(reqData);
|
||||||
@@ -118,6 +119,10 @@ export class ThemePanel extends li_BaseView {
|
|||||||
this.recSprite.node,
|
this.recSprite.node,
|
||||||
1
|
1
|
||||||
);
|
);
|
||||||
|
this._nodeTab.loadingRec.active = false;
|
||||||
|
},
|
||||||
|
() => {
|
||||||
|
this._nodeTab.loadingRec.active = false;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,9 @@ export class DetailImageItem extends Component {
|
|||||||
@property(Label)
|
@property(Label)
|
||||||
videoPrice: Label;
|
videoPrice: Label;
|
||||||
|
|
||||||
|
@property(Node)
|
||||||
|
loading: Node;
|
||||||
|
|
||||||
base: GirlDetailPanel;
|
base: GirlDetailPanel;
|
||||||
url: string;
|
url: string;
|
||||||
isImage: boolean;
|
isImage: boolean;
|
||||||
@@ -146,6 +149,8 @@ export class DetailImageItem extends Component {
|
|||||||
|
|
||||||
this.test_resID = this.node.getChildByName("resID");
|
this.test_resID = this.node.getChildByName("resID");
|
||||||
|
|
||||||
|
this.loading.active = true;
|
||||||
|
|
||||||
this.test_resID.getComponent(Label).string =
|
this.test_resID.getComponent(Label).string =
|
||||||
this.girlId.toString() + this.resId;
|
this.girlId.toString() + this.resId;
|
||||||
|
|
||||||
@@ -211,6 +216,7 @@ export class DetailImageItem extends Component {
|
|||||||
ResManager.I.changeBundleSpriteFrame(this.img, imgPath, "Girls", () => {
|
ResManager.I.changeBundleSpriteFrame(this.img, imgPath, "Girls", () => {
|
||||||
this.question.active = false; // 图片加载成功后隐藏问号
|
this.question.active = false; // 图片加载成功后隐藏问号
|
||||||
this.scaleToFillItem();
|
this.scaleToFillItem();
|
||||||
|
this.loading.active = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ export class GirlListItem extends Component {
|
|||||||
@property(Node)
|
@property(Node)
|
||||||
chatIcon: Node;
|
chatIcon: Node;
|
||||||
|
|
||||||
|
@property(Node)
|
||||||
|
loading: Node;
|
||||||
|
|
||||||
@property(Node)
|
@property(Node)
|
||||||
starParent: Node;
|
starParent: Node;
|
||||||
|
|
||||||
@@ -137,7 +140,7 @@ export class GirlListItem extends Component {
|
|||||||
this.category.toString(),
|
this.category.toString(),
|
||||||
this.id
|
this.id
|
||||||
);
|
);
|
||||||
|
this.loading.active = true;
|
||||||
//listAvatarPath = listAvatarPath.replace("Avatar", "avatar"); //临时
|
//listAvatarPath = listAvatarPath.replace("Avatar", "avatar"); //临时
|
||||||
ResManager.I.changeBundleSpriteFrame(
|
ResManager.I.changeBundleSpriteFrame(
|
||||||
this.avatar,
|
this.avatar,
|
||||||
@@ -150,6 +153,7 @@ export class GirlListItem extends Component {
|
|||||||
this.avatar.node,
|
this.avatar.node,
|
||||||
2
|
2
|
||||||
);
|
);
|
||||||
|
this.loading.active = false;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
import { _decorator, Animation, Component, Node } from "cc";
|
||||||
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
|
@ccclass("LoadingItem")
|
||||||
|
export class LoadingItem extends Component {
|
||||||
|
@property(Animation)
|
||||||
|
animation: Animation;
|
||||||
|
protected onEnable(): void {
|
||||||
|
if (this.animation) {
|
||||||
|
this.animation.play();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected onDisable(): void {
|
||||||
|
if (this.animation) {
|
||||||
|
this.animation.pause();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "4.0.24",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "38c1255e-0b9d-4c11-aae0-ebc28d580222",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
@@ -19,6 +19,9 @@ export class ThemeItem extends Component {
|
|||||||
@property(Label)
|
@property(Label)
|
||||||
titleName: Label;
|
titleName: Label;
|
||||||
|
|
||||||
|
@property(Node)
|
||||||
|
loading: Node;
|
||||||
|
|
||||||
@property(Sprite)
|
@property(Sprite)
|
||||||
img: Sprite;
|
img: Sprite;
|
||||||
|
|
||||||
@@ -39,13 +42,16 @@ export class ThemeItem extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
refresh(themeId: number) {
|
refresh(themeId: number) {
|
||||||
|
this.loading.active = true;
|
||||||
// 主题数据
|
// 主题数据
|
||||||
const themeData = DataManager.I.getDataById<ThemeData>(DataId.Theme);
|
const themeData = DataManager.I.getDataById<ThemeData>(DataId.Theme);
|
||||||
this.lockImg.node.active = this.lockCover.node.active =
|
this.lockImg.node.active = this.lockCover.node.active =
|
||||||
!themeData.getIsReleaseById(themeId);
|
!themeData.getIsReleaseById(themeId);
|
||||||
this.isLocked = !themeData.getIsReleaseById(themeId);
|
this.isLocked = !themeData.getIsReleaseById(themeId);
|
||||||
this.key = themeData.getLanKeyById(themeId);
|
this.key = themeData.getLanKeyById(themeId);
|
||||||
this.titleName.string = LanguageUtils.getText(themeData.getLanKeyById(themeId));
|
this.titleName.string = LanguageUtils.getText(
|
||||||
|
themeData.getLanKeyById(themeId)
|
||||||
|
);
|
||||||
this.category = themeData.getCategoryById(themeId);
|
this.category = themeData.getCategoryById(themeId);
|
||||||
ResManager.I.changeBundleSpriteFrame(
|
ResManager.I.changeBundleSpriteFrame(
|
||||||
this.img,
|
this.img,
|
||||||
@@ -54,6 +60,7 @@ export class ThemeItem extends Component {
|
|||||||
() => {
|
() => {
|
||||||
let sizeTran = this.img.node.parent.getComponent(UITransform);
|
let sizeTran = this.img.node.parent.getComponent(UITransform);
|
||||||
Utils.adjustBgPixelRatioToSize(sizeTran.contentSize, this.img.node, 3);
|
Utils.adjustBgPixelRatioToSize(sizeTran.contentSize, this.img.node, 3);
|
||||||
|
this.loading.active = false;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
GButton.RemoveAndBandClick(this.node, this.OnClickThis, this);
|
GButton.RemoveAndBandClick(this.node, this.OnClickThis, this);
|
||||||
|
|||||||
@@ -25,20 +25,20 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 389
|
"__id__": 401
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 391
|
"__id__": 403
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 393
|
"__id__": 405
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 395
|
"__id__": 407
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 397
|
"__id__": 409
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -82,23 +82,23 @@
|
|||||||
"__id__": 3
|
"__id__": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 371
|
"__id__": 383
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 382
|
"__id__": 394
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 384
|
"__id__": 396
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 386
|
"__id__": 398
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 388
|
"__id__": 400
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -148,17 +148,17 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 364
|
"__id__": 376
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 366
|
"__id__": 378
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 368
|
"__id__": 380
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 370
|
"__id__": 382
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -7107,36 +7107,39 @@
|
|||||||
{
|
{
|
||||||
"__id__": 315
|
"__id__": 315
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"__id__": 321
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"__id__": 327
|
"__id__": 327
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 347
|
"__id__": 333
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 339
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 359
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 353
|
"__id__": 365
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 355
|
"__id__": 367
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 357
|
"__id__": 369
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 359
|
"__id__": 371
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 361
|
"__id__": 373
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 363
|
"__id__": 375
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -7300,6 +7303,164 @@
|
|||||||
"targetOverrides": null,
|
"targetOverrides": null,
|
||||||
"nestedPrefabInstanceRoots": null
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 308
|
||||||
|
},
|
||||||
|
"_prefab": {
|
||||||
|
"__id__": 316
|
||||||
|
},
|
||||||
|
"__editorExtras__": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.PrefabInfo",
|
||||||
|
"root": {
|
||||||
|
"__id__": 315
|
||||||
|
},
|
||||||
|
"asset": {
|
||||||
|
"__uuid__": "bf652567-4b2f-4169-937f-6d12f0d9c354",
|
||||||
|
"__expectedType__": "cc.Prefab"
|
||||||
|
},
|
||||||
|
"fileId": "63H2+Zfo9PcI21HLgBNY8H",
|
||||||
|
"instance": {
|
||||||
|
"__id__": 317
|
||||||
|
},
|
||||||
|
"targetOverrides": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.PrefabInstance",
|
||||||
|
"fileId": "5aq5NQVTtNVprrUtYeMaUN",
|
||||||
|
"prefabRootNode": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"mountedChildren": [],
|
||||||
|
"mountedComponents": [],
|
||||||
|
"propertyOverrides": [
|
||||||
|
{
|
||||||
|
"__id__": 318
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 320
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 321
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 322
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 323
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 325
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"removedComponents": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 319
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_name"
|
||||||
|
],
|
||||||
|
"value": "loadingItem"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.TargetInfo",
|
||||||
|
"localID": [
|
||||||
|
"63H2+Zfo9PcI21HLgBNY8H"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 319
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_lpos"
|
||||||
|
],
|
||||||
|
"value": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 319
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_lrot"
|
||||||
|
],
|
||||||
|
"value": {
|
||||||
|
"__type__": "cc.Quat",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0,
|
||||||
|
"w": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 319
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_euler"
|
||||||
|
],
|
||||||
|
"value": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 324
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_contentSize"
|
||||||
|
],
|
||||||
|
"value": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 341,
|
||||||
|
"height": 438
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.TargetInfo",
|
||||||
|
"localID": [
|
||||||
|
"73fdjB38ZHe5MjwXKxuB5t"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "CCPropertyOverrideInfo",
|
||||||
|
"targetInfo": {
|
||||||
|
"__id__": 326
|
||||||
|
},
|
||||||
|
"propertyPath": [
|
||||||
|
"_contentSize"
|
||||||
|
],
|
||||||
|
"value": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 341,
|
||||||
|
"height": 438
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.TargetInfo",
|
||||||
|
"localID": [
|
||||||
|
"856w1D9j5E44Lcq2R0y9vO"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "question",
|
"_name": "question",
|
||||||
@@ -7312,14 +7473,14 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 316
|
"__id__": 328
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 318
|
"__id__": 330
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 320
|
"__id__": 332
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -7356,11 +7517,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 315
|
"__id__": 327
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 317
|
"__id__": 329
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -7384,11 +7545,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 315
|
"__id__": 327
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 319
|
"__id__": 331
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -7448,14 +7609,14 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 322
|
"__id__": 334
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 324
|
"__id__": 336
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 326
|
"__id__": 338
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -7492,11 +7653,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 321
|
"__id__": 333
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 323
|
"__id__": 335
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -7520,11 +7681,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 321
|
"__id__": 333
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 325
|
"__id__": 337
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -7582,26 +7743,26 @@
|
|||||||
},
|
},
|
||||||
"_children": [
|
"_children": [
|
||||||
{
|
{
|
||||||
"__id__": 328
|
"__id__": 340
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 334
|
"__id__": 346
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 340
|
"__id__": 352
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 342
|
"__id__": 354
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 344
|
"__id__": 356
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 346
|
"__id__": 358
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -7638,20 +7799,20 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 327
|
"__id__": 339
|
||||||
},
|
},
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 329
|
"__id__": 341
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 331
|
"__id__": 343
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 333
|
"__id__": 345
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -7688,11 +7849,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 328
|
"__id__": 340
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 330
|
"__id__": 342
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -7716,11 +7877,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 328
|
"__id__": 340
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 332
|
"__id__": 344
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -7797,20 +7958,20 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 327
|
"__id__": 339
|
||||||
},
|
},
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 335
|
"__id__": 347
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 337
|
"__id__": 349
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 339
|
"__id__": 351
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -7847,11 +8008,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 334
|
"__id__": 346
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 336
|
"__id__": 348
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -7875,11 +8036,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 334
|
"__id__": 346
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 338
|
"__id__": 350
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -7933,11 +8094,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 327
|
"__id__": 339
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 341
|
"__id__": 353
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -7961,11 +8122,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 327
|
"__id__": 339
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 343
|
"__id__": 355
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -8006,11 +8167,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 327
|
"__id__": 339
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 345
|
"__id__": 357
|
||||||
},
|
},
|
||||||
"_alignFlags": 9,
|
"_alignFlags": 9,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
@@ -8061,14 +8222,14 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 348
|
"__id__": 360
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 350
|
"__id__": 362
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 352
|
"__id__": 364
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -8105,11 +8266,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 347
|
"__id__": 359
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 349
|
"__id__": 361
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -8133,11 +8294,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 347
|
"__id__": 359
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 351
|
"__id__": 363
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -8218,7 +8379,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 354
|
"__id__": 366
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -8246,7 +8407,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 356
|
"__id__": 368
|
||||||
},
|
},
|
||||||
"clickEvents": [],
|
"clickEvents": [],
|
||||||
"_interactable": true,
|
"_interactable": true,
|
||||||
@@ -8304,22 +8465,25 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 358
|
"__id__": 370
|
||||||
},
|
},
|
||||||
"img": {
|
"img": {
|
||||||
"__id__": 312
|
"__id__": 312
|
||||||
},
|
},
|
||||||
"question": {
|
"question": {
|
||||||
"__id__": 315
|
|
||||||
},
|
|
||||||
"video": {
|
|
||||||
"__id__": 324
|
|
||||||
},
|
|
||||||
"priceFrame": {
|
|
||||||
"__id__": 327
|
"__id__": 327
|
||||||
},
|
},
|
||||||
|
"video": {
|
||||||
|
"__id__": 336
|
||||||
|
},
|
||||||
|
"priceFrame": {
|
||||||
|
"__id__": 339
|
||||||
|
},
|
||||||
"videoPrice": {
|
"videoPrice": {
|
||||||
"__id__": 331
|
"__id__": 343
|
||||||
|
},
|
||||||
|
"loading": {
|
||||||
|
"__id__": 315
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -8337,7 +8501,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 360
|
"__id__": 372
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_inverted": false,
|
"_inverted": false,
|
||||||
@@ -8359,7 +8523,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 362
|
"__id__": 374
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -8418,7 +8582,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 365
|
"__id__": 377
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -8446,7 +8610,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": false,
|
"_enabled": false,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 367
|
"__id__": 379
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -8491,7 +8655,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 369
|
"__id__": 381
|
||||||
},
|
},
|
||||||
"_alignFlags": 45,
|
"_alignFlags": 45,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
@@ -8542,20 +8706,20 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 372
|
"__id__": 384
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 374
|
"__id__": 386
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 376
|
"__id__": 388
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 379
|
"__id__": 391
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 381
|
"__id__": 393
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -8592,11 +8756,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 371
|
"__id__": 383
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 373
|
"__id__": 385
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -8620,11 +8784,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 371
|
"__id__": 383
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 375
|
"__id__": 387
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -8665,15 +8829,15 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 371
|
"__id__": 383
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 377
|
"__id__": 389
|
||||||
},
|
},
|
||||||
"clickEvents": [
|
"clickEvents": [
|
||||||
{
|
{
|
||||||
"__id__": 378
|
"__id__": 390
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_interactable": true,
|
"_interactable": true,
|
||||||
@@ -8713,7 +8877,7 @@
|
|||||||
"_duration": 0.1,
|
"_duration": 0.1,
|
||||||
"_zoomScale": 1.2,
|
"_zoomScale": 1.2,
|
||||||
"_target": {
|
"_target": {
|
||||||
"__id__": 371
|
"__id__": 383
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -8737,11 +8901,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 371
|
"__id__": 383
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 380
|
"__id__": 392
|
||||||
},
|
},
|
||||||
"_alignFlags": 9,
|
"_alignFlags": 9,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
@@ -8790,7 +8954,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 383
|
"__id__": 395
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -8818,7 +8982,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": false,
|
"_enabled": false,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 385
|
"__id__": 397
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -8863,7 +9027,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 387
|
"__id__": 399
|
||||||
},
|
},
|
||||||
"_alignFlags": 45,
|
"_alignFlags": 45,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
@@ -8912,7 +9076,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 390
|
"__id__": 402
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -8940,7 +9104,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 392
|
"__id__": 404
|
||||||
},
|
},
|
||||||
"_alignFlags": 45,
|
"_alignFlags": 45,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
@@ -8976,7 +9140,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 394
|
"__id__": 406
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -8994,7 +9158,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 396
|
"__id__": 408
|
||||||
},
|
},
|
||||||
"m_rootNode": null,
|
"m_rootNode": null,
|
||||||
"videoArea": {
|
"videoArea": {
|
||||||
@@ -9025,7 +9189,7 @@
|
|||||||
"__id__": 102
|
"__id__": 102
|
||||||
},
|
},
|
||||||
"imgItemInst": {
|
"imgItemInst": {
|
||||||
"__id__": 357
|
"__id__": 369
|
||||||
},
|
},
|
||||||
"imgsLayout": {
|
"imgsLayout": {
|
||||||
"__id__": 275
|
"__id__": 275
|
||||||
@@ -9046,6 +9210,11 @@
|
|||||||
},
|
},
|
||||||
"fileId": "24mSBg+Z9OS5KNS5Yscqr0",
|
"fileId": "24mSBg+Z9OS5KNS5Yscqr0",
|
||||||
"instance": null,
|
"instance": null,
|
||||||
"targetOverrides": null
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": [
|
||||||
|
{
|
||||||
|
"__id__": 315
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.1.50",
|
||||||
|
"importer": "prefab",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "a2ea15da-490b-4cbe-8f31-2790a134459b",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"syncNodeName": "MainPanel"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -22,26 +22,29 @@
|
|||||||
"__id__": 2
|
"__id__": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 12
|
"__id__": 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 18
|
"__id__": 16
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 26
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 28
|
"__id__": 36
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 30
|
"__id__": 38
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 32
|
"__id__": 40
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 34
|
"__id__": 42
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -74,7 +77,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Node",
|
"__type__": "cc.Node",
|
||||||
"_name": "SpriteSplash",
|
"_name": "SpriteSplash-001",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
@@ -91,13 +94,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 7
|
"__id__": 7
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 9
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 11
|
"__id__": 9
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -154,7 +154,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
"fileId": "110iG9EytA1YAB0wVNQw+A"
|
"fileId": "29w+tG7ExGh4i60/SATtE8"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "cc.Sprite",
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
"fileId": "f0CR2UEFFOF6PU6TRY202K"
|
"fileId": "e7KGuNOqZErKofvq3f46aX"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Widget",
|
"__type__": "cc.Widget",
|
||||||
@@ -235,63 +235,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
"fileId": "f6j/k9YUFHCaZUOQEfX2Wf"
|
"fileId": "01/NlVd3NNZ6qKuftPetJ8"
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Button",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 10
|
|
||||||
},
|
|
||||||
"clickEvents": [],
|
|
||||||
"_interactable": true,
|
|
||||||
"_transition": 0,
|
|
||||||
"_normalColor": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_hoverColor": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 211,
|
|
||||||
"g": 211,
|
|
||||||
"b": 211,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_pressedColor": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_disabledColor": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 124,
|
|
||||||
"g": 124,
|
|
||||||
"b": 124,
|
|
||||||
"a": 255
|
|
||||||
},
|
|
||||||
"_normalSprite": null,
|
|
||||||
"_hoverSprite": null,
|
|
||||||
"_pressedSprite": null,
|
|
||||||
"_disabledSprite": null,
|
|
||||||
"_duration": 0.1,
|
|
||||||
"_zoomScale": 1.2,
|
|
||||||
"_target": null,
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "74vW3BgyFGHKbowSkSx8rg"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.PrefabInfo",
|
"__type__": "cc.PrefabInfo",
|
||||||
@@ -301,7 +245,7 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "847WtxRnVLRZqyVBgRKHkS",
|
"fileId": "e8ky/PljxPv6194X3qOOaf",
|
||||||
"instance": null,
|
"instance": null,
|
||||||
"targetOverrides": null,
|
"targetOverrides": null,
|
||||||
"nestedPrefabInstanceRoots": null
|
"nestedPrefabInstanceRoots": null
|
||||||
@@ -318,14 +262,14 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 13
|
"__id__": 11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 15
|
"__id__": 13
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 17
|
"__id__": 15
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -362,11 +306,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 12
|
"__id__": 10
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 14
|
"__id__": 12
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -390,11 +334,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 12
|
"__id__": 10
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 16
|
"__id__": 14
|
||||||
},
|
},
|
||||||
"_customMaterial": null,
|
"_customMaterial": null,
|
||||||
"_srcBlendFactor": 2,
|
"_srcBlendFactor": 2,
|
||||||
@@ -449,17 +393,17 @@
|
|||||||
},
|
},
|
||||||
"_children": [
|
"_children": [
|
||||||
{
|
{
|
||||||
"__id__": 19
|
"__id__": 17
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 25
|
"__id__": 23
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 27
|
"__id__": 25
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -496,20 +440,20 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 18
|
"__id__": 16
|
||||||
},
|
},
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 20
|
"__id__": 18
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 22
|
"__id__": 20
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 24
|
"__id__": 22
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -546,11 +490,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 19
|
"__id__": 17
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 21
|
"__id__": 19
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -574,11 +518,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 19
|
"__id__": 17
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 23
|
"__id__": 21
|
||||||
},
|
},
|
||||||
"_resourceType": 1,
|
"_resourceType": 1,
|
||||||
"_remoteURL": "",
|
"_remoteURL": "",
|
||||||
@@ -617,11 +561,11 @@
|
|||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 18
|
"__id__": 16
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 26
|
"__id__": 24
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -652,6 +596,240 @@
|
|||||||
"targetOverrides": null,
|
"targetOverrides": null,
|
||||||
"nestedPrefabInstanceRoots": null
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "SpriteSplash",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 27
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 29
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 31
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 33
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": {
|
||||||
|
"__id__": 35
|
||||||
|
},
|
||||||
|
"_lpos": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_lrot": {
|
||||||
|
"__type__": "cc.Quat",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0,
|
||||||
|
"w": 1
|
||||||
|
},
|
||||||
|
"_lscale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_mobility": 0,
|
||||||
|
"_layer": 33554432,
|
||||||
|
"_euler": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.UITransform",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 26
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 28
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 1080,
|
||||||
|
"height": 2340
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "110iG9EytA1YAB0wVNQw+A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 26
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 30
|
||||||
|
},
|
||||||
|
"_customMaterial": null,
|
||||||
|
"_srcBlendFactor": 2,
|
||||||
|
"_dstBlendFactor": 4,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 0,
|
||||||
|
"g": 0,
|
||||||
|
"b": 0,
|
||||||
|
"a": 0
|
||||||
|
},
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
|
},
|
||||||
|
"_type": 0,
|
||||||
|
"_fillType": 0,
|
||||||
|
"_sizeMode": 0,
|
||||||
|
"_fillCenter": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_fillStart": 0,
|
||||||
|
"_fillRange": 0,
|
||||||
|
"_isTrimmedMode": true,
|
||||||
|
"_useGrayscale": false,
|
||||||
|
"_atlas": null,
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "f0CR2UEFFOF6PU6TRY202K"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Widget",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 26
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 32
|
||||||
|
},
|
||||||
|
"_alignFlags": 45,
|
||||||
|
"_target": null,
|
||||||
|
"_left": 0,
|
||||||
|
"_right": 0,
|
||||||
|
"_top": 0,
|
||||||
|
"_bottom": 0,
|
||||||
|
"_horizontalCenter": 0,
|
||||||
|
"_verticalCenter": 0,
|
||||||
|
"_isAbsLeft": true,
|
||||||
|
"_isAbsRight": true,
|
||||||
|
"_isAbsTop": true,
|
||||||
|
"_isAbsBottom": true,
|
||||||
|
"_isAbsHorizontalCenter": true,
|
||||||
|
"_isAbsVerticalCenter": true,
|
||||||
|
"_originalWidth": 100,
|
||||||
|
"_originalHeight": 100,
|
||||||
|
"_alignMode": 2,
|
||||||
|
"_lockFlags": 0,
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "f6j/k9YUFHCaZUOQEfX2Wf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Button",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 26
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 34
|
||||||
|
},
|
||||||
|
"clickEvents": [],
|
||||||
|
"_interactable": true,
|
||||||
|
"_transition": 0,
|
||||||
|
"_normalColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_hoverColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 211,
|
||||||
|
"g": 211,
|
||||||
|
"b": 211,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_pressedColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_disabledColor": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 124,
|
||||||
|
"g": 124,
|
||||||
|
"b": 124,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_normalSprite": null,
|
||||||
|
"_hoverSprite": null,
|
||||||
|
"_pressedSprite": null,
|
||||||
|
"_disabledSprite": null,
|
||||||
|
"_duration": 0.1,
|
||||||
|
"_zoomScale": 1.2,
|
||||||
|
"_target": {
|
||||||
|
"__id__": 26
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "74vW3BgyFGHKbowSkSx8rg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.PrefabInfo",
|
||||||
|
"root": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"asset": {
|
||||||
|
"__id__": 0
|
||||||
|
},
|
||||||
|
"fileId": "847WtxRnVLRZqyVBgRKHkS",
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.UITransform",
|
"__type__": "cc.UITransform",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
@@ -662,7 +840,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 29
|
"__id__": 37
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -690,7 +868,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 31
|
"__id__": 39
|
||||||
},
|
},
|
||||||
"_alignFlags": 45,
|
"_alignFlags": 45,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
@@ -726,20 +904,20 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 33
|
"__id__": 41
|
||||||
},
|
},
|
||||||
"m_rootNode": null,
|
"m_rootNode": null,
|
||||||
"image": {
|
"image": {
|
||||||
"__id__": 15
|
"__id__": 13
|
||||||
},
|
},
|
||||||
"splash": {
|
"splash": {
|
||||||
"__id__": 5
|
"__id__": 29
|
||||||
},
|
},
|
||||||
"videoArea": {
|
"videoArea": {
|
||||||
"__id__": 25
|
"__id__": 23
|
||||||
},
|
},
|
||||||
"videoPlayer": {
|
"videoPlayer": {
|
||||||
"__id__": 22
|
"__id__": 20
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -756,7 +934,6 @@
|
|||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "18xipwdnNNI6CKhTGcIHEq",
|
"fileId": "18xipwdnNNI6CKhTGcIHEq",
|
||||||
"instance": null,
|
"instance": null
|
||||||
"targetOverrides": null
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,511 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"__type__": "cc.Prefab",
|
||||||
|
"_name": "loadingItem",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"_native": "",
|
||||||
|
"data": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"optimizationPolicy": 0,
|
||||||
|
"persistent": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "loadingItem",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"_parent": null,
|
||||||
|
"_children": [
|
||||||
|
{
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 10
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_active": true,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 18
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 22
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": {
|
||||||
|
"__id__": 24
|
||||||
|
},
|
||||||
|
"_lpos": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 231.35,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_lrot": {
|
||||||
|
"__type__": "cc.Quat",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0,
|
||||||
|
"w": 1
|
||||||
|
},
|
||||||
|
"_lscale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_mobility": 0,
|
||||||
|
"_layer": 33554432,
|
||||||
|
"_euler": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "loadingBg",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 7
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": {
|
||||||
|
"__id__": 9
|
||||||
|
},
|
||||||
|
"_lpos": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_lrot": {
|
||||||
|
"__type__": "cc.Quat",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0,
|
||||||
|
"w": 1
|
||||||
|
},
|
||||||
|
"_lscale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_mobility": 0,
|
||||||
|
"_layer": 33554432,
|
||||||
|
"_euler": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.UITransform",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 4
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 462.7,
|
||||||
|
"height": 446.4
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "856w1D9j5E44Lcq2R0y9vO"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 6
|
||||||
|
},
|
||||||
|
"_customMaterial": null,
|
||||||
|
"_srcBlendFactor": 2,
|
||||||
|
"_dstBlendFactor": 4,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 0,
|
||||||
|
"g": 0,
|
||||||
|
"b": 0,
|
||||||
|
"a": 96
|
||||||
|
},
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
|
},
|
||||||
|
"_type": 0,
|
||||||
|
"_fillType": 0,
|
||||||
|
"_sizeMode": 0,
|
||||||
|
"_fillCenter": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_fillStart": 0,
|
||||||
|
"_fillRange": 0,
|
||||||
|
"_isTrimmedMode": true,
|
||||||
|
"_useGrayscale": false,
|
||||||
|
"_atlas": null,
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "1duqYYAwRNPaWGZM7Yvekq"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Widget",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 8
|
||||||
|
},
|
||||||
|
"_alignFlags": 45,
|
||||||
|
"_target": null,
|
||||||
|
"_left": 0,
|
||||||
|
"_right": 0,
|
||||||
|
"_top": 0,
|
||||||
|
"_bottom": 0,
|
||||||
|
"_horizontalCenter": 0,
|
||||||
|
"_verticalCenter": 0,
|
||||||
|
"_isAbsLeft": true,
|
||||||
|
"_isAbsRight": true,
|
||||||
|
"_isAbsTop": true,
|
||||||
|
"_isAbsBottom": true,
|
||||||
|
"_isAbsHorizontalCenter": true,
|
||||||
|
"_isAbsVerticalCenter": true,
|
||||||
|
"_originalWidth": 40,
|
||||||
|
"_originalHeight": 36,
|
||||||
|
"_alignMode": 2,
|
||||||
|
"_lockFlags": 0,
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "abbFxqcSZJFrN245W6uZfd"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.PrefabInfo",
|
||||||
|
"root": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"asset": {
|
||||||
|
"__id__": 0
|
||||||
|
},
|
||||||
|
"fileId": "3c4C8sZSxGwZ7dgQ4Fc3Fs",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Node",
|
||||||
|
"_name": "resLoading",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"_parent": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"_children": [],
|
||||||
|
"_active": true,
|
||||||
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 11
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 13
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 15
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_prefab": {
|
||||||
|
"__id__": 17
|
||||||
|
},
|
||||||
|
"_lpos": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_lrot": {
|
||||||
|
"__type__": "cc.Quat",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0,
|
||||||
|
"w": 1
|
||||||
|
},
|
||||||
|
"_lscale": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 1,
|
||||||
|
"y": 1,
|
||||||
|
"z": 1
|
||||||
|
},
|
||||||
|
"_mobility": 0,
|
||||||
|
"_layer": 33554432,
|
||||||
|
"_euler": {
|
||||||
|
"__type__": "cc.Vec3",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.UITransform",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 10
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 12
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 128,
|
||||||
|
"height": 128
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "f6+h9tVn5FiZ3Az+4KT4+7"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Sprite",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 10
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 14
|
||||||
|
},
|
||||||
|
"_customMaterial": null,
|
||||||
|
"_srcBlendFactor": 2,
|
||||||
|
"_dstBlendFactor": 4,
|
||||||
|
"_color": {
|
||||||
|
"__type__": "cc.Color",
|
||||||
|
"r": 255,
|
||||||
|
"g": 255,
|
||||||
|
"b": 255,
|
||||||
|
"a": 255
|
||||||
|
},
|
||||||
|
"_spriteFrame": {
|
||||||
|
"__uuid__": "e8be7976-0d87-45c7-835a-efe2933394ac@f9941",
|
||||||
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
|
},
|
||||||
|
"_type": 0,
|
||||||
|
"_fillType": 0,
|
||||||
|
"_sizeMode": 0,
|
||||||
|
"_fillCenter": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"_fillStart": 0,
|
||||||
|
"_fillRange": 0,
|
||||||
|
"_isTrimmedMode": true,
|
||||||
|
"_useGrayscale": false,
|
||||||
|
"_atlas": null,
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "fbIj5zyd5MPJ5QiThSv7XY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Animation",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 10
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 16
|
||||||
|
},
|
||||||
|
"playOnLoad": true,
|
||||||
|
"_clips": [
|
||||||
|
{
|
||||||
|
"__uuid__": "daac9702-c258-4d3b-8e05-f3a95852e56d",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_defaultClip": {
|
||||||
|
"__uuid__": "daac9702-c258-4d3b-8e05-f3a95852e56d",
|
||||||
|
"__expectedType__": "cc.AnimationClip"
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "1eBLh2E95ESZrds+skITbK"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.PrefabInfo",
|
||||||
|
"root": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"asset": {
|
||||||
|
"__id__": 0
|
||||||
|
},
|
||||||
|
"fileId": "07c3Zr3YhGxoF6ZCjbVnwC",
|
||||||
|
"instance": null,
|
||||||
|
"targetOverrides": null,
|
||||||
|
"nestedPrefabInstanceRoots": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.UITransform",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 19
|
||||||
|
},
|
||||||
|
"_contentSize": {
|
||||||
|
"__type__": "cc.Size",
|
||||||
|
"width": 462.7,
|
||||||
|
"height": 446.4
|
||||||
|
},
|
||||||
|
"_anchorPoint": {
|
||||||
|
"__type__": "cc.Vec2",
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "73fdjB38ZHe5MjwXKxuB5t"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.Widget",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 21
|
||||||
|
},
|
||||||
|
"_alignFlags": 45,
|
||||||
|
"_target": null,
|
||||||
|
"_left": 0,
|
||||||
|
"_right": 0,
|
||||||
|
"_top": 0,
|
||||||
|
"_bottom": 0,
|
||||||
|
"_horizontalCenter": 0,
|
||||||
|
"_verticalCenter": 0,
|
||||||
|
"_isAbsLeft": true,
|
||||||
|
"_isAbsRight": true,
|
||||||
|
"_isAbsTop": true,
|
||||||
|
"_isAbsBottom": true,
|
||||||
|
"_isAbsHorizontalCenter": true,
|
||||||
|
"_isAbsVerticalCenter": true,
|
||||||
|
"_originalWidth": 40,
|
||||||
|
"_originalHeight": 36,
|
||||||
|
"_alignMode": 2,
|
||||||
|
"_lockFlags": 0,
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "77qO0eG8ZPeaQ6W+dMx1sF"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "38c12VeC51MEarg68KNWAIi",
|
||||||
|
"_name": "",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {},
|
||||||
|
"node": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"_enabled": true,
|
||||||
|
"__prefab": {
|
||||||
|
"__id__": 23
|
||||||
|
},
|
||||||
|
"animation": {
|
||||||
|
"__id__": 15
|
||||||
|
},
|
||||||
|
"_id": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.CompPrefabInfo",
|
||||||
|
"fileId": "ccMHBkQMNDjYTGbEca8bnc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.PrefabInfo",
|
||||||
|
"root": {
|
||||||
|
"__id__": 1
|
||||||
|
},
|
||||||
|
"asset": {
|
||||||
|
"__id__": 0
|
||||||
|
},
|
||||||
|
"fileId": "63H2+Zfo9PcI21HLgBNY8H",
|
||||||
|
"targetOverrides": null
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.1.50",
|
||||||
|
"importer": "prefab",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "bf652567-4b2f-4169-937f-6d12f0d9c354",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"syncNodeName": "loadingItem"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,205 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"__type__": "cc.AnimationClip",
|
||||||
|
"_name": "rotate",
|
||||||
|
"_objFlags": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"embeddedPlayerGroups": []
|
||||||
|
},
|
||||||
|
"_native": "",
|
||||||
|
"sample": 10,
|
||||||
|
"speed": 1,
|
||||||
|
"wrapMode": 2,
|
||||||
|
"enableTrsBlending": false,
|
||||||
|
"_duration": 2,
|
||||||
|
"_hash": 500763545,
|
||||||
|
"_tracks": [
|
||||||
|
{
|
||||||
|
"__id__": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_exoticAnimation": null,
|
||||||
|
"_events": [],
|
||||||
|
"_embeddedPlayers": [],
|
||||||
|
"_additiveSettings": {
|
||||||
|
"__id__": 11
|
||||||
|
},
|
||||||
|
"_auxiliaryCurveEntries": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.VectorTrack",
|
||||||
|
"_binding": {
|
||||||
|
"__type__": "cc.animation.TrackBinding",
|
||||||
|
"path": {
|
||||||
|
"__id__": 2
|
||||||
|
},
|
||||||
|
"proxy": null
|
||||||
|
},
|
||||||
|
"_channels": [
|
||||||
|
{
|
||||||
|
"__id__": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 5
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 7
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 9
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"_nComponents": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.TrackPath",
|
||||||
|
"_paths": [
|
||||||
|
"eulerAngles"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.Channel",
|
||||||
|
"_curve": {
|
||||||
|
"__id__": 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealCurve",
|
||||||
|
"_times": [
|
||||||
|
0,
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"_values": [
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preExtrapolation": 1,
|
||||||
|
"postExtrapolation": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.Channel",
|
||||||
|
"_curve": {
|
||||||
|
"__id__": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealCurve",
|
||||||
|
"_times": [
|
||||||
|
0,
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"_values": [
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 0,
|
||||||
|
"tangentWeightMode": 0,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": 0,
|
||||||
|
"rightTangentWeight": 1,
|
||||||
|
"leftTangent": 0,
|
||||||
|
"leftTangentWeight": 1,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preExtrapolation": 1,
|
||||||
|
"postExtrapolation": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.Channel",
|
||||||
|
"_curve": {
|
||||||
|
"__id__": 8
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealCurve",
|
||||||
|
"_times": [
|
||||||
|
0,
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"_values": [
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 2,
|
||||||
|
"tangentWeightMode": 3,
|
||||||
|
"value": 0,
|
||||||
|
"rightTangent": -27.95930495109982,
|
||||||
|
"rightTangentWeight": 29.26843694063059,
|
||||||
|
"leftTangent": -27.95930495109982,
|
||||||
|
"leftTangentWeight": 38.41249603198706,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"broken": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealKeyframeValue",
|
||||||
|
"interpolationMode": 2,
|
||||||
|
"tangentWeightMode": 3,
|
||||||
|
"value": -360,
|
||||||
|
"rightTangent": -34.444943465693825,
|
||||||
|
"rightTangentWeight": 724.7403866209822,
|
||||||
|
"leftTangent": -34.444943465693825,
|
||||||
|
"leftTangentWeight": 20.410601055243866,
|
||||||
|
"easingMethod": 0,
|
||||||
|
"__editorExtras__": {
|
||||||
|
"broken": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"preExtrapolation": 1,
|
||||||
|
"postExtrapolation": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.animation.Channel",
|
||||||
|
"_curve": {
|
||||||
|
"__id__": 10
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.RealCurve",
|
||||||
|
"_times": [],
|
||||||
|
"_values": [],
|
||||||
|
"preExtrapolation": 1,
|
||||||
|
"postExtrapolation": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__type__": "cc.AnimationClipAdditiveSettings",
|
||||||
|
"enabled": false,
|
||||||
|
"refClip": null
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"ver": "2.0.3",
|
||||||
|
"importer": "animation-clip",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "daac9702-c258-4d3b-8e05-f3a95852e56d",
|
||||||
|
"files": [
|
||||||
|
".cconb"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"name": "rotate"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "c15639b9-371b-4bae-ab65-5810813a85b3",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.0",
|
||||||
|
"importer": "audio-clip",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "89a622e9-7748-4d7a-a44d-dae5b8a1a337",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".mp3"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"downloadMode": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@@ -0,0 +1,134 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.27",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "e8be7976-0d87-45c7-835a-efe2933394ac",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "e8be7976-0d87-45c7-835a-efe2933394ac@6c48a",
|
||||||
|
"displayName": "loading",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "clamp-to-edge",
|
||||||
|
"wrapModeT": "clamp-to-edge",
|
||||||
|
"imageUuidOrDatabaseUri": "e8be7976-0d87-45c7-835a-efe2933394ac",
|
||||||
|
"isUuid": true,
|
||||||
|
"visible": false,
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9941": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "e8be7976-0d87-45c7-835a-efe2933394ac@f9941",
|
||||||
|
"displayName": "loading",
|
||||||
|
"id": "f9941",
|
||||||
|
"name": "spriteFrame",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 0,
|
||||||
|
"trimY": 0,
|
||||||
|
"width": 256,
|
||||||
|
"height": 256,
|
||||||
|
"rawWidth": 256,
|
||||||
|
"rawHeight": 256,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [
|
||||||
|
-128,
|
||||||
|
-128,
|
||||||
|
0,
|
||||||
|
128,
|
||||||
|
-128,
|
||||||
|
0,
|
||||||
|
-128,
|
||||||
|
128,
|
||||||
|
0,
|
||||||
|
128,
|
||||||
|
128,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"indexes": [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
2,
|
||||||
|
1,
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"uv": [
|
||||||
|
0,
|
||||||
|
256,
|
||||||
|
256,
|
||||||
|
256,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
256,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"nuv": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"minPos": [
|
||||||
|
-128,
|
||||||
|
-128,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"maxPos": [
|
||||||
|
128,
|
||||||
|
128,
|
||||||
|
0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "e8be7976-0d87-45c7-835a-efe2933394ac@6c48a",
|
||||||
|
"atlasUuid": ""
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"type": "sprite-frame",
|
||||||
|
"hasAlpha": true,
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "e8be7976-0d87-45c7-835a-efe2933394ac@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user