我智商爆棚
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
wozhishangbaopeng/assets/Scripts/GameLoading.ts

28 lines
906 B

import User from "../FrameWork/User/User";
import AppPlatform from "../FrameWork/Util/AppPlatform";
import Utilit from "../FrameWork/Util/Utilit";
import Common5 from "../Platform/th/Common5";
import TTAPI from "../Platform/tt/TTAPI";
import PhysicalPowerManger from "../ttFrame/manager/PhysicalPowerManger";
const { ccclass, property } = cc._decorator;
@ccclass
export default class GameLoading extends cc.Component {
protected showNode: cc.Node = null;
protected btnRestart: cc.Node = null;
protected btnBack: cc.Node = null;
protected btnShare: cc.Node = null;
protected fireworksNode: cc.Node = null;
protected start(): void {
this.btnBack = this.node.getChildByName("bg").getChildByName("snBG").getChildByName("snBack");
this.btnBack.on("click", () => {
this.node.removeFromParent();
this.node.destroy();
}, this);
}
}