feat: 更新关卡预览项的提示文本格式,添加新的遮罩图像和按钮图像

This commit is contained in:
richarjiang
2026-05-06 19:40:28 +08:00
parent 32adc7c467
commit 06238f933b
7 changed files with 173 additions and 39 deletions

View File

@@ -34,9 +34,9 @@ export class PreviewLevelItem extends Component {
hint3: string;
}): void {
if (this.answerLabel) this.answerLabel.string = `答案:${opts.answer}`;
if (this.tips1Label) this.tips1Label.string = `线索一:${opts.hint1}`;
if (this.tips2Label) this.tips2Label.string = `线索二:${opts.hint2}`;
if (this.tips3Label) this.tips3Label.string = `线索三:${opts.hint3}`;
if (this.tips1Label) this.tips1Label.string = opts.hint1;
if (this.tips2Label) this.tips2Label.string = opts.hint2;
if (this.tips3Label) this.tips3Label.string = opts.hint3;
}
setCover(spriteFrame: SpriteFrame | null): void {