大约有 2,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1424) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(44) Laya2.0_api(7) laya_api(6)
...ion complete事件回掉参数为undefinend var ani1:Laya.FrameAnimation = this.ani1; ani1.play(0,false); ani1.on(laya.events.Event.COMPLETE,this,this.onPlayEnd); onPlayEnd(evt) { //evt 居然是undefinend。事件机制还能用吗? } 2017-09-19 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170919
...ion _onMouseDown(e:Event):void { var point:Point = this.getMousePoint(); if (_dragArea.contains(point.x, point.y)) this.startDrag(); else this.stopDrag(); } 找到这段代码,改引擎,做判断,如果要...
来源: Laya_社区 发布时间: 20180719
...3D正交投影下的坐标系统 var pos2d:Point = new Point(posX, posY); this.bottomScene.localToGlobal(pos2d); var pos:Vector3 = new Vector3(pos2d.x, pos2d.y, 0); var _translate:Vector3 = new Vector3(0, 0, 0); camera.convertScreenCoordToOrthographicCoord(pos, _translate); 2018-03-19 添加评论 ...
来源: Laya_社区 发布时间: 20180319
...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function...
来源: Laya_社区 发布时间: 20170602
...Tween.to 用这个做缓动动效, 设置 alpha 和 scale值有问题, this.tw1 = Laya.Tween.to(this.load_1, { scaleX:0.01 }, 250, Laya.Ease.quadOut, Handler.create(this, this.tw1Complete1)); 只要是设置scale值最终变为0就有问题,, var style=this.getStyle(); 这个获取的style...
来源: Laya_社区 发布时间: 20180315
...{text:"six"}}); data.push({m_label:{text:"seven"}}); } this.m_list.array = data; this.m_list.vScrollBarSkin=''; } list 的宽高 和下面的box 和label宽高一致 183*****288 • 2018-02-10 13:32 但展示出来就是拉倒最下面 会空着一大块 很难看 qian • 2018-0...
来源: Laya_社区 发布时间: 20180210
...都没执行 LayaAir 1.7.17 beta JS版本 function postData(url,request) { this.http = new Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会...
来源: Laya_社区 发布时间: 20180315
... = (function(_super) { function AudioCommand() { AudioCommand.__super.call(this); } __class(AudioCommand, 'model.resource.audio.controller.AudioCommand', _super); 1.AudioCommand.__super.call(this); 2.__class(AudioCommand, 'model.resource.audio.controller.AudioCommand', _super); 1,2这两个句代码...
来源: Laya_社区 发布时间: 20180313
....createMap("res/TiledMap/orthogonal-outside.json",viewRect, Handler.create(this, this.onCreateMapLoaded)); } private function onCreateMapLoaded():void { trace("loaded..."); } } } testTiledMap.zip 2018-04-28 2 2 分享 微博 QZONE 微信 rabbit 赞同来自: layabox 你遇到什么问题,能具...
来源: Laya_社区 发布时间: 20180428
...计算循环的次数 Tween.to(sp,{x:500},1000,Ease.backIn,Handler.create(this,onTween1)); } private function onTween1():void { // TODO Auto Generated method stub num++; trace(num); Tween.clearTween(onTween1); Tween.to(sp,{x:100},1000,Ease.backIn,Handler.create(this,onTween2)); } private function on...
来源: Laya_社区 发布时间: 20161011