大约有 490 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
...Color.createByConstant(new Laya.Vector4(0.324,0.231,0.341,1)); this.bg.graphics.drawRect(0,0,720,1280,gradient.gradient); gradient打出来全是Null 附件 : --> 2019-09-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20190925
...on("ani/TX001.ani"); //动画播放完的事件 ani.on(Laya.Event.COMPLETE,this,(ani:Animation)=>{ ani.removeSelf(); ani.destroy(); },[ani]); ani.play(0,false); 2018-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20180615
..., {blur: 1}, 200, null, 0); } t.on(Event.COMPLETE, this, function(){ sp.filters = null; }); t.play(0, true); }; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebG...
来源: Laya_社区 发布时间: 20181012
...事件,求助 //响应点击事件 humanSkeleton.on(Laya.Event.CLICK,this,onclickHuman); function onclickHuman(){ console.log("onclickHuman"); } https://www.cnblogs.com/Jackie-Snow/p/8487607.html 网上的这个方式试了,没用,按照网上说是没有设置width与height 但是这个...
来源: Laya_社区 发布时间: 20180909
...后消失? Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { var tl = new Laya.Animation(); tl.loadAnimation("democesi.ani"); Laya.stage.addChild(tl); tl.play(); tl.pos(302,650); } 2018-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180117
...flags is not a function bt.RayResultCallback_set_m_flags(this._btAllHitsRayResultCallback, flag); 附件 : --> 2022-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Yan 赞同来...
来源: Laya_社区 发布时间: 20220309
... ani.play(); ani.pos(400, 200); sp.addChild(ani); Laya.stage.on("keydown", this, onKeyDown); Stat.show(); } private function onKeyDown(e:Event):void { if (e.keyCode === Keyboard.H) { sp.visible = false; //隐藏界面,清理资源 Laya.loader.clearTextureRes("res/bg.jpg"); Laya.loader.clearTexture...
来源: Laya2.0_文档 发布时间: 20210714
... ani.play(); ani.pos(400, 200); sp.addChild(ani); Laya.stage.on("keydown", this, onKeyDown); Stat.show(); } private function onKeyDown(e:Event):void { if (e.keyCode === Keyboard.H) { sp.visible = false; //隐藏界面,清理资源 Laya.loader.clearTextureRes("res/bg.jpg"); Laya.loader.clearTexture...
来源: Laya2.0_文档 发布时间: 20200929
...air3.3.0-beta.4中2D导航数据清理报错 直接销毁所有子节点(this.roleBox.destroyChildren();)中添加了Laya.Nav2DAgent代理导航时会报错: 比如子节点有三个角色,其中两个角色正在寻路时,第三个角色执行了销毁所有子节点(this.roleBox.des...
来源: Laya_社区 发布时间: 20250707
...ddChild(sp); var timeLine:TimeLine=new TimeLine(); timeLine.on(Event.LABEL,this,onLabel); timeLine.addLabel("A",0).to(sp,{rotation:360},700) .addLabel("B",0).to(sp,{scaleY:0.7},200) .addLabel("C",0).to(sp,{scaleY:1},200); timeLine.play(0,false); } private function onLabel(text:String):void { trace(t...
来源: Laya_社区 发布时间: 20161229