游戏启动后自己写的所有组建都会报这个警告,不知道该如何解决
Simulator: JS: [WARN]: Failed to construct a dummy instance of the “xxx” class using new behind the scenes. This is for getting default values declared in TypeScript. Please ensure the class will be able to construct during script’s initialization. TypeError: Cannot read property ‘enableForTarget’ of null.