各位大侠帮忙看下,这个怎么解:
这个是我在unity导出一个文件,然后layabox中加载场景。
Laya.loader.create(this.strScene, Laya.Handler.create(this, this.onLoadScene));
private onLoadScene() {
var scene: Laya.Scene = Laya.Scene.load(this.strScene);
if (scene == null) {
return;
}
this.mScene = scene;
大致的流程如上
错误堆栈: