Commit 116b9125 authored by Tt's avatar Tt

1

parent 7100d3e4
...@@ -413,6 +413,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -413,6 +413,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
.start(); .start();
}) })
this.scheduleOnce(() => { this.scheduleOnce(() => {
nodes.forEach(node => {
//这里得换文字内容
let label = node.getChildByName('label')
pg.view.visible(label, true)
pg.view.setString(label, node.data.rightVal)
})
//执行颜色变right_wrong //执行颜色变right_wrong
this.updateBlockColor(nodes, 'img_right_wrong') this.updateBlockColor(nodes, 'img_right_wrong')
//播放音频right_wrong //播放音频right_wrong
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment