大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
....ERROR, this, onError); private function onAssetLoaded(texture:Texture):void{ //console.log("111: "); txt.visible=false; title = new Sprite(); Laya.stage.addChild(title); ...
来源: Laya_社区 发布时间: 20171001
...产生三个参数: onTriggerEnter(other: any, self: any, contact: any): void { console.log(other); //被碰撞的对象 console.log(self); //自己 console.log(contact); //连接点对象, contact.getHitInfo(); //这里有碰撞点的信息 } 官方文档不全,或者说没法说的那么...
来源: Laya_社区 发布时间: 20181026
...urves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 富文本下划线绘制bug new Laya.Sprite();绘制图形以后,怎么删除释放资源? Laya拖尾怎么停止或清除,比如要瞬移角色的时候停止。伤脑壳~~!! graphics...
来源: Laya_社区 发布时间: 20170817
...stage.frameLoop(1, null, drawMask); var index:int = 0; function drawMask():void { index++; if(index > 72) index = index-72; var angle:int = index*5; spr.mask.graphics.drawPie(0,0,100,0,angle, "#ffffff"); } 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180502
...ber, height:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 参数fillColor:* — 填充颜色,或者填充绘图的渐变对象 我找不到关于这个渐变对象的文档,例子或者教程 2018-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180904
..._Aaron 赞同来自: LT dialog类 private function _onMouseDown(e:Event):void { var point:Point = this.getMousePoint(); if (_dragArea.contains(point.x, point.y)) this.startDrag(); else this.stopDrag(); } 找到...
来源: Laya_社区 发布时间: 20180719
...):String { return _bgColor; } public function set bgColor(value:String):void { _bgColor = value; conchModel && conchModel.bgColor(value); if (Render.isWebGL) { if (value && value !== "black" && value !== "#000000") { _wgColor = Color.create(value)._color; } else { _wgCo...
来源: Laya_社区 发布时间: 20180607
...TE,this,this.aniComplete); this.mAni.play("free") aniComplete(type:number):void { this.mAni.play("ready"); } 播放完指定动画后,这个回调不执行。 附件 : --> pkwang3D.rar 2017-11-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20171116
...all.ts文件里的函数认识 constructor(){ super()}和 createChildren():void { super.createChildren(); this.createView(ui.login.HeadUI.uiView); } 是先执行constructor()再执行createChildren()吗?constructor()相当于构造函数,createChildren()是构造完成后执行的start()函数 2...
来源: Laya_社区 发布时间: 20171226
...LResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML); //直接调用可以正常播放 //onConfigLoaded(null); })); 运行环境 Iphone6 ...
来源: Laya_社区 发布时间: 20171115