demibug 当加载的文件不存在时会有 Failed to load resource: net::ERR_FILE_NOT_FOUND 这样的LOG,但是代码上要怎样监听这个事件呢?好像没有异常抛出来。
demibug cuixueying 你确定能用吗 不是Laya.loader.load,是Laya.loader.create 加载.lh文件,如果文件不存在,也不会收到Laya.Event.Error事件
demibug cuixueying 请看一下https://ask.layabox.com/question/5614 还是这个问题,你给的这个例子只是loader.load侦听失败吧,create好像是有BUG