大约有 339 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0050 秒)
Laya_社区(266) Laya2.0_文档(21) Laya2.0_示例(10) Laya_示例(9) Laya3.0_文档(9) laya_api(8) Laya3.0_api(8) Laya2.0_api(8)
...re.js:13173) at LayaGame.<anonymous> (LayaGame.ts:60) at EventHandler.__proto.runWith (laya.core.js:724) at ResInfo.__proto.event (laya.core.js:494) at LoaderManager.__proto._endLoad (laya.core.js:13377) at Loader.onLoaded (laya.core.js:13353) at EventHandle...
来源: Laya_社区 发布时间: 20190129
... hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send(NameJo...
来源: Laya_社区 发布时间: 20160626
...8 json图集加载问题 ios原生回调问题 (此问题已经无效) event自定义事件的问题 问题状态 最新活动: 2019-10-18 16:02 浏览: 959 关注: 1 人
来源: Laya_社区 发布时间: 20191018
...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...
来源: Laya_社区 发布时间: 20161109
...如果加载错误,并不会触发错误事件。 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
...erId:"533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); var headers = []; headers.push("Content-Type"); headers.push("application/jso...
来源: Laya_社区 发布时间: 20170620
...相关的链接 提交 2 个回复 金风 赞同来自: this.xhr.once(Laya.Event.COMPLETE, this, this.CompleteHandler); this.xhr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRequest.url, this.c...
来源: Laya_社区 发布时间: 20200629
...读取到的数据是错的,然后就报错了。package { import laya.events.Event; import laya.net.Socket; import laya.utils.Byte; import laya.webgl.WebGL; public class SocketSample { public var socket:Socket; private var byte:Byte; public function SocketSample() { //初始化引擎 this.byte = ...
来源: Laya_社区 发布时间: 20180202
...ileMgr.filesListObj[sourceUrl]; thisLoader.event(Laya.Event.ERROR, "Load image failed"); }; 附件 : --> 2020-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...
来源: Laya_社区 发布时间: 20200427
... 写了个边缘光的自定义shader,有很多问题,帮忙看一下 event自定义事件的问题 问题状态 最新活动: 2018-03-05 15:45 浏览: 825 关注: 2 人
来源: Laya_社区 发布时间: 20180305