大约有 1,155 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0048 秒)
Laya_社区(864) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(35) laya_api(2) Laya2.0_api(2)
... hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send(NameJosn, null, 'get',...
来源: Laya_社区 发布时间: 20160626
timeLine的问题,怎么在多个addLabel之间改变图片skin? this.timeLine.addLabel("move",0).to(img,ani,500,null,0) .addLabel("ani1",500).to(img,ani1,220,null,0) .addLabel("ani2",220).to(img,ani2,220,null,0) 如上我创建了三个addLabel,但是我想在第一个addLabel完成了,就...
来源: Laya_社区 发布时间: 20180321
...听到龙骨中自定义的事件 是这样弄吗? 代码中如何写? this._skeleton.on("hit", this, onHit); 附件 : --> 2016-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 zhongguo168a 赞同来自...
来源: Laya_社区 发布时间: 20160817
...怎么把接受的数据decode为message-------- socket.on(Event.MESSAGE,this,this.onMessageReceived); private onMessageReceived(msg:any):void { //received data from server var byte:Byte=new Byte(); byte.writeArrayBuffer(msg); byte.pos=0; byte.endian=Socket.BIG_ENDIAN; //拆包开始 :依旧是len...
来源: Laya_社区 发布时间: 20171113
...运行layaair-cmd compile 后报下面的错误。 sp.stdout.on("data", this.emitStdout.bind(this)); ^ TypeError: Cannot read property 'on' of undefined at LayaProjectCompiler.compile (/usr/lib/node_modules/layaair-cmd/compile_project.js:70:14) at new LayaProjectComp...
来源: Laya_社区 发布时间: 20180514
...rray就找不到呢, 同理按照文档写 现在我的js也代码截图 this.m_list.scrollBar.hide = true;//隐藏列表的滚动条。 提示我scrollBar找不到。 附件 : --> 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180323
...Request = new HttpRequest(); req.once(Event.COMPLETE, this, function():void { trace(req.data); }); req.once(Event.ERROR, this, function():void { ...
来源: Laya_社区 发布时间: 20170120
...s Sprite { private var testPan:Sprite; public function MainUi() { super(); this.graphics.drawRect(0,0,500,500,"#fff0cc"); testPan = new Sprite(); testPan.name = "testPan"; this.addChild( testPan ); testPan.pos( 300,300); testPan.graphics.drawRect(0,0,90,100,"#faaff0"); testPan.on(Event.CLICK,this,on...
来源: Laya_社区 发布时间: 20161124
...("girl/girl.lh").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Event.MOUSE_DOWN, this, this.switchAni ); } switchAni(): void { if (this._isRun) { //播...
来源: Laya3.0_文档 发布时间: 20240910
...REEN_NONE; Laya.loader.create("LayaScene_Laya/Laya.ls",Laya.Handler.create(this,this.on3DComplete)); 报错 throw new Error("LoaderManager:unknown file("+url+") extension with: "+extension+"."); 2018-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20180116