修复pause

This commit is contained in:
YZ\249929363 2025-07-22 19:13:02 +08:00
parent 26d44a5168
commit 96c94bd93e
4 changed files with 326 additions and 5870 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -1,9 +0,0 @@
{
"ver": "1.3.2",
"uuid": "d1366935-fbfb-42fb-8846-8545724468f6",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}