feat: 优化存档管理,添加异步加载槽位摘要功能,减少主菜单等待时间

This commit is contained in:
2026-05-20 18:18:30 +08:00
parent e50cf57321
commit bc7063fb95
7 changed files with 39 additions and 11 deletions

View File

@@ -109,7 +109,9 @@ namespace BaseGames.Player
{
if (_config.forms[i]?.formId == data.Player.ActiveFormId)
{
SwitchToFormByIndex(i);
// 直接赋值不触发事件——加载时场景尚未完全就绪订阅者WeaponManager 等)
// 会在各自 OnEnable + Register → OnLoad 回调中自行恢复状态。
CurrentForm = _config.forms[i];
return;
}
}