|
@@ -24,7 +24,7 @@ export class scene_layer extends Component {
|
|
private mAudioList:Map<string,Node> = new Map;
|
|
private mAudioList:Map<string,Node> = new Map;
|
|
private up_id_string = '_up'
|
|
private up_id_string = '_up'
|
|
private next_id_string = '_next'
|
|
private next_id_string = '_next'
|
|
- private is_show_cur_directionBtn:boolean = true; //是否显示当前方向按钮,默认显示
|
|
|
|
|
|
+ private is_show_cur_directionBtn:boolean = false; //是否显示当前方向按钮,默认不显示
|
|
protected start(): void {
|
|
protected start(): void {
|
|
this.node.addComponent(AudioSource)
|
|
this.node.addComponent(AudioSource)
|
|
}
|
|
}
|
|
@@ -50,7 +50,7 @@ export class scene_layer extends Component {
|
|
this.mCurPage = 0
|
|
this.mCurPage = 0
|
|
this.mAudioList.clear()
|
|
this.mAudioList.clear()
|
|
this.unscheduleAllCallbacks()
|
|
this.unscheduleAllCallbacks()
|
|
- this.is_show_cur_directionBtn = true
|
|
|
|
|
|
+ this.is_show_cur_directionBtn = false
|
|
ClientEvent.off(config.EventRun.NOTICE_EVENT,this.beActive.bind(this),this)
|
|
ClientEvent.off(config.EventRun.NOTICE_EVENT,this.beActive.bind(this),this)
|
|
}
|
|
}
|
|
|
|
|