[add] 版號

This commit is contained in:
2022-09-04 00:02:14 +08:00
parent c2cb85afe4
commit 1027cc8376
2 changed files with 129 additions and 3 deletions

View File

@@ -27,6 +27,9 @@ export default class Manager extends cc.Component {
@property({ type: cc.Node })
public UpdatePanel: cc.Node = null;
@property({ type: cc.Label })
public Version: cc.Label = null;
//#endregion
//#region Lifecycle
@@ -37,6 +40,7 @@ export default class Manager extends cc.Component {
private *_init(): IterableIterator<any> {
console.log(`COMPILE VERSION: ${BusinessTypeSetting.COMPILE_VERSION}`);
this.Version.string = `Ver ${BusinessTypeSetting.COMPILE_VERSION}`;
cc.debug.setDisplayStats(false);
new NativeClass(this.webview);