chore: nothing important
parent
75a60bea9e
commit
1f6a997342
|
@ -330,7 +330,7 @@
|
|||
"__expectedType__": "cc.AudioClip"
|
||||
},
|
||||
"_score": 0,
|
||||
"_bonusTime": 10,
|
||||
"_bonusTime": 5,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"ver": "1.1.50",
|
||||
"importer": "scene",
|
||||
"imported": true,
|
||||
"uuid": "8eb392e2-dfc6-410a-9878-b5a65b2550f5",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
|
@ -6144,6 +6144,9 @@
|
|||
"__uuid__": "7be5a322-4407-436a-9342-cd5ace4bb0c9",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
},
|
||||
"_floatingStartFactory": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_centerOffset": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
|
@ -15272,7 +15275,7 @@
|
|||
"__id__": 443
|
||||
},
|
||||
"loadingScreen": {
|
||||
"__id__": 546
|
||||
"__id__": 545
|
||||
},
|
||||
"playButton": {
|
||||
"__id__": 540
|
||||
|
|
|
@ -7,7 +7,6 @@ import {
|
|||
game,
|
||||
Label,
|
||||
Node,
|
||||
random,
|
||||
randomRangeInt,
|
||||
RealCurve,
|
||||
sp,
|
||||
|
|
|
@ -96,6 +96,10 @@ export default class GachaManager extends Singleton<GachaManager>() {
|
|||
this.gachas.forEach((gacha) => gacha.gacha.setNodeActive(false));
|
||||
}
|
||||
|
||||
public showBtn(_, data: string) {
|
||||
this.show(GachaType[data]);
|
||||
}
|
||||
|
||||
public async show(type: GachaType, delay: number = 0) {
|
||||
game.timeScale = 0;
|
||||
await Utils.delay(delay);
|
||||
|
|
Loading…
Reference in New Issue