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

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

81. laya.device.media.HtmlVideo_API3.0 [ 80%]

...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

82. laya.spine.SpineTemplet_API3.0 [ 80%]

...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

83. Native下http请求,Error事件中的error对象错误码全都是404 [ 80%]

...生不应该会有这个问题才是的 比如说这个代码: 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

84. 在加载多个资源的时候,加载进度异常 [ 79%]

...his, function(e){ console.log(e) }, null, false)关键在于最后第四个once参数,一定要传false,不然只调用一次.   在laya.core.js中Handle类的源码里可以看到,在create方法中,如果不传once参数,默认会设会true. 然后在runWith方法中,once为true的话,就调用cl...

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

85. HTTP以POST发送Byte字节流,服务器无法解析 [ 79%]

...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

86. http无响应 [ 79%]

...数 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

87. Tween.to 执行失败 [ 79%]

...))}) ; })}) ; 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

88. unity导出来的粒子特效 播放效果不对 [ 79%]

...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

89. tween [ 79%]

...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

90. laya.display.BitmapFont_API3.0 [ 79%]

...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