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

大约有 506 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)

161. laya.d3.core.Sprite3D [ 64%]

...事件类型是否是鼠标事件。 EventDispatcher  load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type...

来源: Laya2.0_api 发布时间: 20190513

162. 加载成功要怎样判断呢? [ 64%]

...管是Laya.loader.load(url, onLoaded, ...) 还是Laya.loader.on(Event.COMPLETE, this, onLoaded); 加载失败都会到onLoaded,那怎么区分是不是加载成功? 2017-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

163. laya.display.FrameAnimation [ 64%]

...件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取...

来源: Laya2.0_api 发布时间: 20190513

164. laya.display.BitmapFont_API3.0 [ 64%]

...lock=true的资源。 Returns void Static loadFont loadFont(path: string, complete: Handler): void Defined in laya/display/BitmapFont.ts:33 通过指定位图字体文件路径,加载位图字体文件,加载完成后会自动解析。 Parameters path: string 位图字体文件的路径。 compl...

来源: Laya3.0_api 发布时间: 20231115

165. 预加载进入游戏界面 [ 64%]

...on",type:Loader.JSON,size:50,priority:1}]。          * @param    complete    加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源,否则为null;2. url为数...

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

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

...PROGRESS, this, onHttpRequestProgress);             hr.once(Event.COMPLETE, this, onHttpRequestComplete);             hr.once(Event.ERROR, this, onHttpRequestError);             hr.send(NameJosn, null, 'get', 'xml');               function method():void       ...

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

167. loader.load 方法 在加载失败的时候会不会自己重新尝试加载呢? [ 64%]

...应的事件 加载失败请监听Event.ERROR 加载成功请监听Event.COMPLETE(该参数在loader方法中已经作为参数进行添加) 所以加载失败后会触发加载失败事件,不会重新进行加载。 2016-11-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

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

168. request failed status:0 text: IOS HttpRequest [ 64%]

...est(); 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"); hr.send('http://xxxxxxxxxxxxxxxxxx', JSON.stringify(dat...

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

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

...的链接 提交 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.current...

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

170. 引擎加载动画过程中断网,动画还会继续加载吗? [ 64%]

...中断网,动画还会继续加载吗? 引擎加载动画完成的 event.complet 事件,在加载动画过程中断网,然后重连网络后,该事件一直没有被触发?请问有什么解决方案吗? 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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