大约有 165 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0039 秒)
...efault: { console.error('unknown format', ext); return; } } ...
来源: Laya_社区 发布时间: 20201130
...加载错误,并不会触发错误事件。 Laya.loader.on(Laya.Event.ERROR, this, function(){ console.log("err"); }); Laya.loader.load([{url:"res/general/test.png",type:laya.net.Loader.IMAGE}]); 如果指定的类型时json或者atlas是会触发错误事件的。 2018-09-26 添加评论 ...
来源: Laya_社区 发布时间: 20180926
... 这个是我的UI类,我在这个类里调用GameMain.aaa();提示TypeError: GameMain.aaa is not a function 问题是我调用其他类的静态函数就没问题,请问这是什么? /**Created by the LayaAirIDE*/ module view { export class GameInfo extends ui.GameInfoUI { constructor() ...
来源: Laya_社区 发布时间: 20180507
...); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){ //加载完成返回的data是arraybuffer; //.......这里处理我们加密的图片数据,假设我们的图...
来源: Laya2.0_文档 发布时间: 20210715
...题解答(最新版本:1.7.16) 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 IDE1.7.8 json图集加载问题 求指点3d射线碰...
来源: Laya_社区 发布时间: 20180723
...打地鼠 AS、JS、TS版本 Demo! 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 分享:适配LayaAir版本的PureMVC框架 Laya中的宏编译要怎么用啊 动画混合无效(版本2.6) 请问2.0的版本开始,我用ts编写的相...
来源: Laya_社区 发布时间: 20170320
...OMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加载线程,可以通过maxLoader属性修改线程数量; 多优先级:有0-4...
来源: Laya2.0_api 发布时间: 20190513
...到舞台的3D模型不显示贴图 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 请问下加载TFF字体要怎么加载呢? IDE1.7.8 json...
来源: Laya_社区 发布时间: 20181106
...录 发起人 laya21126 相关问题 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was no...
来源: Laya_社区 发布时间: 20191211
...打地鼠 AS、JS、TS版本 Demo! 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现...
来源: Laya_社区 发布时间: 20190315