大约有 498 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
Laya3.0_api(153) Laya_社区(116) laya_api(104) Laya2.0_api(96) Laya2.0_文档(14) Laya3.0_文档(12) Laya2.0_示例(2) Laya_示例(1)
...xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); console.log("processHandler"); } function errorHandler(data){ console.log("errorHandler"); } function completeHandler(e){ console.log("completeHandler"); } 2018-08-27 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180827
...rarchy Prefab PrefabImpl Index Constructors constructor Properties _id api data destroyedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setC...
来源: Laya3.0_api 发布时间: 20231115
...lp = fork(gulpPath, cmd, { silent: true, shell: true, }); _gulp.stdout.on('data', (data) => { console.log(`${data}`); }); _gulp.stderr.on('data', (data) => { console.log(`${data}`); }); _gulp.on('close', (code) => { console.log(`exit:${code}`); }); b)、创建并编写脚本 tools-publ...
来源: Laya_社区 发布时间: 20201223
LayaAir下Data的使用! 2017-02-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 再LayaAir中,不支持Data类属性的获取,请使用对应方法,如下 var d:Date=new Date(_...
来源: Laya_社区 发布时间: 20170213
...tion (ws) { console.log('客户端连接成功!'); ws.on('foo', function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> <script type="text/...
来源: Laya_社区 发布时间: 20181107
...//developer.mozilla.org/en-US/docs/Web/Guide/Events/Orientation_and_motion_data_explained。 info: RotationInfo类型参数,保存设备的旋转值。 浏览器兼容性参见:http://caniuse.com/#search=deviceorientation Hierarchy EventDispatcher Gyroscope Index Constructors constructor Accesso...
来源: Laya3.0_api 发布时间: 20231115
...自定义事件问题。 A实例 a.on("vj_move", this, this.onChange,this._data); 监听 在A类 抛事件 this.event("vj_move","abc"); 断点监听处 this._data没数据 是不是写法有问题??? 2017-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20171109
...tion (ws) { console.log('客户端连接成功!'); ws.on('foo', function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> <script type="text/...
来源: Laya_社区 发布时间: 20180509
[0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. 我使用spine3.8.75导出的文件无法使用。代码是使用的2.12.2beta1引擎示例的源码。 var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = La...
来源: Laya_社区 发布时间: 20211013
怎么使用http请求 httpRequest: function (url, data) { var xhr = cc.loader.getXMLHttpRequest(); if (!xhr.onreadystatechange) { xhr.onreadystatechange = function () { if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 207)) { //cc.log("response:\n" + xhr.respons...
来源: Laya_社区 发布时间: 20180807