|
@@ -555,6 +555,7 @@ export default class Editor extends cc.Component {
|
|
|
this.initStageData(json)
|
|
|
let parentNode = this.getGameNode()
|
|
|
let teacherGuideUI = parentNode.getComponent(TeacherGuideUI)
|
|
|
+ teacherGuideUI.teacherMode = true
|
|
|
teacherGuideUI.initCurPart(this.gameType, this.semeID, this.gameID, this.partID)
|
|
|
if (Object.keys(json.gameJson).length > 0) {
|
|
|
teacherGuideUI.initCfg(json.gameJson)
|