feat: 收敛玩法运行时配置并加入故障恢复
This commit is contained in:
@@ -258,17 +258,19 @@ export class UiEffectDirector {
|
||||
'success',
|
||||
cue ? this.getPunchFeedbackMotionClass(cue.punchFeedbackMotion) : '',
|
||||
)
|
||||
this.host.showContentCard(
|
||||
effect.displayTitle,
|
||||
effect.displayBody,
|
||||
cue ? this.getContentCardMotionClass(cue.contentCardMotion) : '',
|
||||
{
|
||||
contentKey: effect.controlId,
|
||||
autoPopup: effect.displayAutoPopup,
|
||||
once: effect.displayOnce,
|
||||
priority: effect.displayPriority,
|
||||
},
|
||||
)
|
||||
if (effect.controlKind !== 'finish' && effect.displayAutoPopup) {
|
||||
this.host.showContentCard(
|
||||
effect.displayTitle,
|
||||
effect.displayBody,
|
||||
cue ? this.getContentCardMotionClass(cue.contentCardMotion) : '',
|
||||
{
|
||||
contentKey: effect.controlId,
|
||||
autoPopup: effect.displayAutoPopup,
|
||||
once: effect.displayOnce,
|
||||
priority: effect.displayPriority,
|
||||
},
|
||||
)
|
||||
}
|
||||
if (cue && cue.mapPulseMotion !== 'none') {
|
||||
this.host.showMapPulse(effect.controlId, this.getMapPulseMotionClass(cue.mapPulseMotion))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user