BabylonJS / Editor

Community managed visual editor for Babylon.js
http://editor.babylonjs.com/
812 stars 232 forks source link

Console.log is not work? #414

Closed tidus2020 closed 1 year ago

tidus2020 commented 1 year ago

public onInitialized(): void { console.log("inited....") } can't see any thing.

julien-moreau commented 1 year ago

logs coming from the console are not supported when you play in the editor. Please use:

import { Tools } from "@babylons/core/Misc/tools";
...
Tools.Log("initiated...")

I suggest that you use the Babylon.JS forum for future questions (https://forum.babylonjs.com/) because you can get help from other users as well. Thanks a lot :)