fix: 修复角色控制器和任务卡片的显示问题

修复角色控制器prefab的_active属性设置为true以正确显示
将SingletonModuleComp的showInfo默认值改为true以显示信息
在MissionCardComp的onMissionStart中添加noStop.active = false以正确初始化状态
This commit is contained in:
panw
2026-01-15 15:04:44 +08:00
parent 57ea9a1587
commit fe5ed952d5
3 changed files with 3 additions and 2 deletions

View File

@@ -89,6 +89,7 @@ export class MissionCardComp extends CCComp {
onMissionStart() {
this.isLocked = true;
this.isAdUnlocked = false;
this.noStop.active = false;
if (this.Lock) this.Lock.active = false; // 初始不显示,等待 showCardType
if(this.unLock) this.unLock.active=false
this.eventQueue = [];