文档上只有JavaScript,但目前公司使用的是TypeScript,想要开始editor:executeInEditMode,请问怎么写?
按照这样写没有进到onLoad。。。 是不是版本不能用 2.0.9的版本

ts这样写了,没有效果。用js,马上就打印出来了
控制台无法输出,但是确实是运行起来了的
用cc.log();
不要用console.log()
ts开发,2.4.3测试没有输出,动画也不执行
@executeInEditMode()
文档上只有JavaScript,但目前公司使用的是TypeScript,想要开始editor:executeInEditMode,请问怎么写?
按照这样写没有进到onLoad。。。 是不是版本不能用 2.0.9的版本

ts这样写了,没有效果。用js,马上就打印出来了
控制台无法输出,但是确实是运行起来了的
用cc.log();
不要用console.log()
ts开发,2.4.3测试没有输出,动画也不执行
@executeInEditMode()