|
@@ -29,11 +29,12 @@ export class unlock_play_dialog extends Component {
|
|
|
}
|
|
|
|
|
|
setupCoinNumber(number:number) {
|
|
|
- this.btn_coin.children[0].getComponent(Label).string = number + ''
|
|
|
+ this.btn_coin.getChildByName('Label').getComponent(Label).string = number + ''
|
|
|
+ // this.btn_coin.children[0].getComponent(Label).string = number + ''
|
|
|
}
|
|
|
|
|
|
public setupLookVideo(string:string) {
|
|
|
- this.btn_look_video.children[0].getComponent(Label).string = string
|
|
|
+ this.btn_look_video.getChildByName('Label').getComponent(Label).string = string
|
|
|
}
|
|
|
|
|
|
public close() {
|