[add] debug

This commit is contained in:
建喵 2022-04-19 12:05:22 +08:00
parent 3a620cdac1
commit e830412da5

View File

@ -23,6 +23,9 @@ export default class Manager extends cc.Component {
//#region Lifecycle //#region Lifecycle
protected onLoad(): void { protected onLoad(): void {
if (CC_DEBUG) {
console.log("Debug");
}
let self: this = this; let self: this = this;
this._text_to_Speech = new Text_to_Speech(); this._text_to_Speech = new Text_to_Speech();
window.addEventListener("message", function (e: MessageEvent<any>): void { window.addEventListener("message", function (e: MessageEvent<any>): void {