Commit 1c8b2700 authored by liujiangnan's avatar liujiangnan

feat: nicetry

parent f144d97b
......@@ -321,6 +321,7 @@ export default class NewClass extends cc.Component {
itemClone.active = true;
cc.find("item1/word", itemClone).getComponent(cc.Label).string = word;
cc.find("item3/goodjob", itemClone).active = (score >= 80);
cc.find("item3/nicetry", itemClone).active = (score < 80);
cc.find("item2/play_icon", itemClone).attr({audio_url});
}
} else {
......
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