修复pause
This commit is contained in:
parent
26d44a5168
commit
96c94bd93e
File diff suppressed because it is too large
Load Diff
|
@ -344,7 +344,7 @@ export default class SceneManager extends cc.Component {
|
||||||
cc.error('Shop prefab is not loaded yet.');
|
cc.error('Shop prefab is not loaded yet.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
MapConroler._instance.pause = true;
|
||||||
if (!this.shopNode) {
|
if (!this.shopNode) {
|
||||||
// 第一次使用,创建节点
|
// 第一次使用,创建节点
|
||||||
this.shopNode = cc.instantiate(SceneManager.cachedShopPrefab);
|
this.shopNode = cc.instantiate(SceneManager.cachedShopPrefab);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
"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