大约有 698 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0041 秒)
Laya_社区(286) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
...troy event getVideo hasListener isCreateFromURL off offAll offAllCaller on once setSource create destroyUnusedResources Constructors constructor new HtmlVideo(): HtmlVideo Overrides Bitmap.__constructor Defined in laya/device/media/HtmlVideo.ts:13 Returns HtmlVideo Properties destoryedImmediately de...
来源: Laya3.0_api 发布时间: 20231102
...exByName getTexture hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new SpineTemplet(): SpineTemplet Overrides Resource.__constructor Defined in laya/spine/SpineTemplet.ts:19 Returns SpineTemplet Properties _id _id: number = 0 Inherited fro...
来源: Laya3.0_api 发布时间: 20231115
...生不应该会有这个问题才是的 比如说这个代码: this.hr.once(Event.COMPLETE, this, onHrCompleteHandler); this.hr.once(Event.ERROR , this ,onHrErrorHandler); this.hr.send($url, $data, $method, $responseType, $headers); private function onHrCompleteHandler():void { if(this.completeHan...
来源: Laya_社区 发布时间: 20180528
...his, function(e){ console.log(e) }, null, false)关键在于最后第四个once参数,一定要传false,不然只调用一次. 在laya.core.js中Handle类的源码里可以看到,在create方法中,如果不传once参数,默认会设会true. 然后在runWith方法中,once为true的话,就调用cl...
来源: Laya_社区 发布时间: 20180101
...Connection() { console.log("starConnection"); conn=new HttpRequest(); conn.once(Event.PROGRESS, this, onHttpRequestProgress); conn.once(Event.COMPLETE, this, onHttpRequestComplete); conn.once(Event.ERROR, this, onHttpRequestError); var buffBody=new Byte(); buffBody.endian=Byte.BIG_ENDIAN; buffBody.w...
来源: Laya_社区 发布时间: 20160726
...数 this.dlg; } function connect() { var hr = new Laya.HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://111.73.45.19/index.php/Tgy/tgyPost', 'username=c11111&...
来源: Laya_社区 发布时间: 20170215
...))}) ; })}) ; console.log(sprite.x) ; console.log(sprite.y) ; console.log("once done") ; } function onWalk(dir){ switch(dir){ case "up": hero_p1.roleAni.play(0,true,"p1_walk_up"); Laya.stage.addChild(hero_p1.roleAni); break ; case "down": hero_p1.roleAni.play(0,true,"p1_walk_down"); Laya.stage.addCh...
来源: Laya_社区 发布时间: 20180331
...part:Sprite3D = scene.addChild(Sprite3D.load("part.lh")) as Sprite3D; part.once(Event.HIERARCHY_LOADED, this, function():void{ part.transform.localScale = new Vector3(3, 3, 3); }); 我按照这个调整粒子大小,不起作用啊 2018-07-09 0 6 分享 微博 QZONE 微信 Laya_Aaro...
来源: Laya_社区 发布时间: 20180705
...Tween类里面的 create 函数的代码段 BUG就出在 Laya.scaleTimer.once(delay,this,this.firstStart,[target,props,isTo]); if (runNow){ if (delay <=0)this.firstStart(target,props,isTo); else Laya.scaleTimer.once(delay,this,this.firstStart,[target,props,isTo]); }else { this._initProps(target,p...
来源: Laya_社区 发布时间: 20180123
...xWidth getTextWidth hasListener isCreateFromURL off offAll offAllCaller on once parseFont destroyUnusedResources loadFont Constructors constructor new BitmapFont(): BitmapFont Overrides Resource.__constructor Defined in laya/display/BitmapFont.ts:37 Returns BitmapFont Properties _id _id: number = 0 ...
来源: Laya3.0_api 发布时间: 20231115