From e830412da51214c8baead63cb807829e81a1b6bf Mon Sep 17 00:00:00 2001 From: JianMiau Date: Tue, 19 Apr 2022 12:05:22 +0800 Subject: [PATCH] [add] debug --- assets/Script/Manager.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/Script/Manager.ts b/assets/Script/Manager.ts index 6cf6c7d..4c8b08c 100644 --- a/assets/Script/Manager.ts +++ b/assets/Script/Manager.ts @@ -23,6 +23,9 @@ export default class Manager extends cc.Component { //#region Lifecycle protected onLoad(): void { + if (CC_DEBUG) { + console.log("Debug"); + } let self: this = this; this._text_to_Speech = new Text_to_Speech(); window.addEventListener("message", function (e: MessageEvent): void {