大约有 698 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0052 秒)
Laya_社区(286) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
...rn]Retry to load:",url); this._failRes[url]=errorCount+1; Laya.systemTimer.once(this.retryDelay,this,this._addReTry,[resInfo],false); return; }else { Loader.clearRes(url); console.warn("[error]Failed to load:",url); this.event(/*laya.events.Event.ERROR*/"error",url); } } if (this._failRes[url])this....
来源: Laya_社区 发布时间: 20200429
... //请求完成后触发,表示响应数据已经完全接收。 this.hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); //请求出错时触发,常用于网络故障等异常情况。 this.hr.once(Event.ERROR, this, this.onHttpRequestError); //示例中的URL为临时测试的地址,...
来源: Laya3.0_文档 发布时间: 20250310
...)改为(0,0,0) var rotation = new Laya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(300, 300, 300); Laya.Utils3D.convert3DCoordTo2DScreenCoord(translate, translate); layaMonkey.transform.position = transl...
来源: Laya_社区 发布时间: 20170807
... a.run(); 日志: a1: Handler {once: true, _id: 6, caller: null, args: Array[1]} a2: Handler {once: true, _id: 0, caller: null, method: null, args: null} b: Handler {once: true, _id: 7, caller: null, args: Array[1]} a3: H...
来源: Laya_社区 发布时间: 20161109
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...ne=new TimeLine(); timeLine.to(sp, {y: yy}, 3000, Ease.linearIn); timeLine.once(Event.COMPLETE,this, complete,[sp,timeLine]); timeLine.play(0,false); } //清理缓动的函数 private function clearTime(timeLine:TimeLine):void { timeLine.destroy(); } //缓动播放完成后的回调 private function...
来源: Laya_社区 发布时间: 20161207
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...载音频之后,再播放还是会重复请求下载呢? http 请求 once 的 回调参数,如何传递和接收? layabox写好的程序可以打包成windows安装包吗? 怎么设置调试地址为网址 问题状态 最新活动: 2018-03-15 18:09 浏览: 1017 关注: 2 人 hel1314 • 2...
来源: Laya_社区 发布时间: 20180315
...CanvasElement],,死活都画不出来,, 主域代码 Laya.timer.once(2000, this, function():void{ var sprite:Sprite = new Sprite(); sprite.pos(0, 0); var texture:Texture = new Texture(Browser.window.sharedCanvas); texture.bitmap.alwaysChange = true;//小程序使用,非常费,这个...
来源: Laya_社区 发布时间: 20181123
...bedoTexture detailNormalScale detailNormalTexture detailTilingOffset emissionColor emissionIntensity emissionTexture enableEmission enableVertexColor gpuMemory id materialRenderMode metallic metallicGlossTexture normalTexture normalTextureScale obsolute occlusionTexture occlusionTextureStrength para...
来源: Laya3.0_api 发布时间: 20231115