• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 270 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)

211. 如何能监听到TouchStart和TouchEnd事件 [ 53%]

...值。*/         static LOADED: string;         /** 定义 progress 事件对象的 type 属性值。*/         static PROGRESS: string;         /** 定义 input 事件对象的 type 属性值。*/         static INPUT: string;         /** 定义 render 事...

来源: Laya_社区 发布时间: 20170601

212. Laya.loader.create()真机不能加载3D资源,加载图片和音频可以,打开调试也没问题 [ 52%]

...cen/Conventional/newScen.ls",         ];          //设置progress Handler的第4个参数为true,根据加载文件个数获取加载进度         Laya.loader.create(res,null,Laya.Handler.create(this,this.onProgress,null,false)); 2020-11-30 添加评论 免费帖 --> ...

来源: Laya_社区 发布时间: 20201130

213. 在layabox里protobuf只能用回调的方式处理吗? [ 52%]

... 预编译,需要怎么处理? Laya.Handler.create 回调 load方法的progress回调进的次数太少了。是我哪里设置有问题么 官方技术文档里:微信小游戏进阶处理,AS3,TS,JS并不相同,请问关于AS3的wxlocal白名单文件适用于JS和TS吗 关于UI子界面...

来源: Laya_社区 发布时间: 20171103

214. timeline 类动作节点回调 [ 52%]

...回调 timeline 类能否给每个动作节点添加一个 complete 或者progress 回调? 目前看来只支持所有动作节点执行完毕后complete 回调。  日常开发中给每个小动作节点添加回调时很常见的, 在使用cocos-js的时候就经常用到。 能不能改造ti...

来源: Laya_社区 发布时间: 20180718

215. 导出到微信小游戏资源加载失败回调不执行 [ 52%]

...amp; callBack.runWith([1, data]); }}); //获取加载进度 downloadTask.onProgressUpdate(function(data:Object):void { callBack != null && callBack.runWith([2, data.progress]); }); } 2018-09-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

来源: Laya_社区 发布时间: 20180924

216. request failed status:0 text: IOS HttpRequest [ 52%]

...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/json"); h...

来源: Laya_社区 发布时间: 20170620

217. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 52%]

...           hr = new HttpRequest();             hr.once(Event.PROGRESS, this, onHttpRequestProgress);             hr.once(Event.COMPLETE, this, onHttpRequestComplete);             hr.once(Event.ERROR, this, onHttpRequestError);             hr.send(NameJosn, nu...

来源: Laya_社区 发布时间: 20160626

218. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 52%]

...hr.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.currentRequest.data, "post", "text", ["Access-Control-Allow-Origin","*", "Access-Control-Allow-Headers","X-Requested-With", "Ac...

来源: Laya_社区 发布时间: 20200629

219. Sprite.loadImage()中设置的y的值为Browser.ClientHight时不准确是为什么? [ 52%]

...度?我想让模型在50%透明和100%不透明之间切换 load方法的progress回调进的次数太少了。是我哪里设置有问题么 如何设置显示对象的颜色 问题状态 最新活动: 2017-04-26 17:37 浏览: 1079 关注: 2 人 sfsmmc • 2017-04-27 09:09 Demo上传了,不要...

来源: Laya_社区 发布时间: 20170426

220. Laya.loader加载BUG [ 52%]

... 检查是否正在下载,避免网页reload         this.event("progress",0);          var type=this._type;         if (type=="plfb"){             this.parsePLFBData(data);             this.complete(data);         }else if (type=="plf"){  ...

来源: Laya_社区 发布时间: 20200427