Commit 949c032a authored by liujiangnan's avatar liujiangnan

feat

parent a2204841
......@@ -53,16 +53,23 @@ export default class NewClass extends middleLayerBase {
(<any>window).air.onCourseInScreen(() => {
console.log("***成功调用onCourseInScreen***");
(<any>window).air.onCourseInScreen = null;
this.setVideoToBottom();
this.hideWaitingLetters();
this.hideMask();
});
} else {
this.setVideoToBottom();
this.hideWaitingLetters();
this.hideMask();
}
}
}
setVideoToBottom() {
const video = cc.find("Canvas").getComponentInChildren(cc.VideoPlayer);
video.stayOnBottom = true;
}
tipsTween = null;
async showTips(str: string) {
const tipsLayer = cc.find('middleLayer/tipsLayer');
......
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