恢复暂停
This commit is contained in:
parent
232663a79c
commit
26d44a5168
File diff suppressed because it is too large
Load Diff
|
@ -2124,6 +2124,7 @@ export default class MapConroler extends cc.Component {
|
|||
if (winCOIN) {
|
||||
const wincoin = winCOIN.getComponent(SceneManager);
|
||||
if (wincoin) {
|
||||
this.pause = true;
|
||||
wincoin.openShop();
|
||||
} else {
|
||||
console.log("JiaZai 组件未找到");
|
||||
|
|
|
@ -283,6 +283,7 @@ export default class SceneManager extends cc.Component {
|
|||
closeShop() {
|
||||
if (this.shopNode) {
|
||||
this.shopNode.active = false;
|
||||
MapConroler._instance.pause = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
5054
assets/prefab/Pause.prefab
Normal file
5054
assets/prefab/Pause.prefab
Normal file
File diff suppressed because it is too large
Load Diff
9
assets/prefab/Pause.prefab.meta
Normal file
9
assets/prefab/Pause.prefab.meta
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"ver": "1.3.2",
|
||||
"uuid": "d1366935-fbfb-42fb-8846-8545724468f6",
|
||||
"importer": "prefab",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
Loading…
Reference in New Issue
Block a user