chore: nothing important

feature/ads-smart-display
tiendat3699 2024-06-18 10:36:33 +07:00
parent 75a60bea9e
commit 1f6a997342
6 changed files with 9 additions and 3484 deletions

View File

@ -330,7 +330,7 @@
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
"_score": 0, "_score": 0,
"_bonusTime": 10, "_bonusTime": 5,
"_id": "" "_id": ""
}, },
{ {

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +0,0 @@
{
"ver": "1.1.50",
"importer": "scene",
"imported": true,
"uuid": "8eb392e2-dfc6-410a-9878-b5a65b2550f5",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -6144,6 +6144,9 @@
"__uuid__": "7be5a322-4407-436a-9342-cd5ace4bb0c9", "__uuid__": "7be5a322-4407-436a-9342-cd5ace4bb0c9",
"__expectedType__": "cc.Prefab" "__expectedType__": "cc.Prefab"
}, },
"_floatingStartFactory": {
"__id__": 8
},
"_centerOffset": { "_centerOffset": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
@ -15272,7 +15275,7 @@
"__id__": 443 "__id__": 443
}, },
"loadingScreen": { "loadingScreen": {
"__id__": 546 "__id__": 545
}, },
"playButton": { "playButton": {
"__id__": 540 "__id__": 540

View File

@ -7,7 +7,6 @@ import {
game, game,
Label, Label,
Node, Node,
random,
randomRangeInt, randomRangeInt,
RealCurve, RealCurve,
sp, sp,

View File

@ -96,6 +96,10 @@ export default class GachaManager extends Singleton<GachaManager>() {
this.gachas.forEach((gacha) => gacha.gacha.setNodeActive(false)); this.gachas.forEach((gacha) => gacha.gacha.setNodeActive(false));
} }
public showBtn(_, data: string) {
this.show(GachaType[data]);
}
public async show(type: GachaType, delay: number = 0) { public async show(type: GachaType, delay: number = 0) {
game.timeScale = 0; game.timeScale = 0;
await Utils.delay(delay); await Utils.delay(delay);