大约有 1,485 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1080) Laya3.0_api(156) Laya2.0_api(101) laya_api(89) Laya2.0_文档(31) Laya3.0_文档(23) Laya2.0_示例(3) Laya_示例(2)
... 赞同来自: 高级黑科技来了: // 解压获得文件内容 let zipData = {"res/aaa.scene":{scene:"xxxx"}, "res/bbb.json":{test:[1,2,3,4,5]}}; // 构造数据 let data = {json:{}, text:{}}; // 默认只支持json和text。其他要另外处理。 data.json["res/aaa.scene"] = zipData["res/aaa...
来源: Laya_社区 发布时间: 20190425
...mp; } // 将原始坐标转换为百度坐标 function convertToBaiduCoord(data) { if (data.status == 0) { var position = data.points[0]; // 设置标注物位置 marker.setPosition(position); map.panTo(position); map.setZoom(17); } } function onError(e) { if (e.code == Geolocation.TIMEOUT) alert("...
来源: Laya_示例 发布时间: 20251130
...yaNative下请求崩溃,请求官方协助! public post(url: string, data: any, callback: (this: void, data: JSON) => void): void { let hr = new Laya.HttpRequest(); hr.once(Laya.Event.COMPLETE, this, (e: any): void => { callback(JSON.parse(hr.dat...
来源: Laya_社区 发布时间: 20190829
...('players')) { let data = this._tableInfo; alert(param.players[0].uid +' '+App.uid +' '+param.players[0].gold); for (var key in data.players) { ...
来源: Laya_社区 发布时间: 20180109
request failed status:0 text: IOS HttpRequest var data = { rechargeId:"1", consumerId:"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, onHttpRequestErr...
来源: Laya_社区 发布时间: 20170620
...com.ReleaseTest.Four E/LayaConch5: plugin-----------------EngineStart() = /data/data/com.ReleaseTest.Four//LayaCache/localstorage 06-20 19:10:18.328 5371-5371/com.ReleaseTest.Four W/art: Attempt to remove local handle scope entry from IRT, ignoring 06-20 19:10:18.329 5371-5371/com.ReleaseTest.Four E...
来源: Laya_社区 发布时间: 20170620
...象;它将包含于传递给 onmessage 处理函数的事件对象中的 data 字段内。你可以传递任意值或是经过结构化拷贝算法处理过的 JavaScript 对象,即可以包含循环引用。 transferList 一个可选的对象数组,用于转让它们的所有权。如果一...
来源: Laya3.0_文档 发布时间: 20251010
...ir.game.utility.LayaAudioMusic,methodName:playBackgroundMusic,params: ["/data/user/0/com.mylafe.game.handsomecat//LayaCache//appCache/602822a8/9ddea156_dreams.mp3",0,0] 12-26 14:27:10.059 1552-1616/com.mylafe.game.handsomecat E/LayaBox: >>>>>>>>>>>>before 12-26 ...
来源: Laya_社区 发布时间: 20191226
...er传过来的数据函数 (this as any as WorkerLoader).workerMessage(evt.data); } } 回调函数this指向有问题 附件 : --> 2019-08-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自:...
来源: Laya_社区 发布时间: 20190802
...p.timestamp; } // 将原始坐标转换为百度坐标 convertToBaiduCoord(data) { if (data.status == 0) { let position = data.points[0]; // 设置标注物位置 marker.setPosition(position); map.panTo(position); map.setZoom(17); } } onError(e) { const Geolocation = Laya.Geolocation; if (e.code == ...
来源: Laya2.0_示例 发布时间: 20251130